Debian Codegraph @

rsvg_convert/Cargo.toml

raw symbols SCIP
1 [package]
2 name = "rsvg_convert"
3 version.workspace = true
4 authors.workspace = true
5 description.workspace = true
6 license.workspace = true
7 homepage.workspace = true
8 repository.workspace = true
9 edition.workspace = true
10 rust-version.workspace = true
11
12 # So that we can use an rsvg-convert name instead of the default rsvg_convert
13 autobins = false
14
15 [package.metadata.system-deps]
16 cairo-pdf = { version = "1.18", optional = true }
17 cairo-ps = { version = "1.18", optional = true }
18 cairo-svg = { version = "1.18", optional = true }
19
20 [dependencies]
21 cairo-rs = { workspace = true, features = [
22 "v1_18",
23 "v1_16",
24 "pdf",
25 "ps",
26 "svg",
27 ] }
28 cast.workspace = true
29 chrono = { workspace = true, default-features = false, features = [
30 "clock",
31 "std",
32 ] }
33 clap = { workspace = true, features = ["cargo", "derive"] } # rsvg-convert
34 clap_complete.workspace = true # rsvg-convert
35 cssparser.workspace = true
36 gio.workspace = true
37 glib.workspace = true
38 libc.workspace = true
39 librsvg.workspace = true
40 librsvg-c.workspace = true
41 pango.workspace = true
42
43 [target.'cfg(unix)'.dependencies]
44 gio-unix.workspace = true
45
46 [target.'cfg(windows)'.dependencies]
47 gio-win32.workspace = true
48
49 [dev-dependencies]
50 assert_cmd.workspace = true
51 predicates.workspace = true
52 tempfile.workspace = true
53 url.workspace = true
54 lopdf.workspace = true
55 png.workspace = true
56 float-cmp.workspace = true
57 librsvg = { workspace = true, features = ["test-utils"] }
58
59 [build-dependencies]
60 system-deps.workspace = true
61
62 [lints.rust]
63 unexpected_cfgs = { level = "warn", check-cfg = [
64 'cfg(system_deps_have_cairo_pdf)',
65 'cfg(system_deps_have_cairo_ps)',
66 'cfg(system_deps_have_cairo_svg)',
67 ] }
68
69 [features]
70 avif = ["librsvg/avif"]
71
72 [[bin]]
73 name = "rsvg-convert"
74 path = "src/main.rs"