1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
|
[package]
name = "librsvg"
version = "2.54.4"
authors = ["Federico Mena Quintero <federico@gnome.org>"]
build = "build.rs"
edition = "2021"
[package.metadata.system-deps]
cairo-pdf = { version = "1.16", optional = true }
cairo-ps = { version = "1.16", optional = true }
cairo-svg = { version = "1.16", optional = true }
gdk-pixbuf = { name = "gdk-pixbuf-2.0", version = "2.20" }
gio = { name = "gio-2.0", version = "2.24" }
glib = { name = "glib-2.0", version = "2.50" }
pangocairo = "1.46"
[package.metadata.system-deps.'cfg(windows)']
fontconfig = { version = "1.7", optional = true }
pangoft2 = { version = "1.46", optional = true }
harfbuzz = { version = "2.0", optional = true }
freetype2 = { version = "20.0.14", optional = true }
cairo = { version = "1.16", optional = true }
cairo-gobject = { version = "1.16", optional = true }
cairo-png = { version = "1.16", optional = true }
libxml2 = { name = "libxml-2.0", version = "2.9", optional = true }
[package.metadata.system-deps.'cfg(not(windows))']
fontconfig = { version = "1.7" }
pangoft2 = { version = "1.46" }
cairo = "1.16"
cairo-gobject = "1.16"
cairo-png = "1.16"
harfbuzz = "2.0"
freetype2 = "20.0.14"
libxml2 = { name = "libxml-2.0", version = "2.9" }
[lib]
name = "librsvg"
crate-type = [ "staticlib", "rlib" ]
[dependencies]
# Keep these in sync with respect to the cairo-rs version:
# src/lib.rs - toplevel example in the docs
byteorder = "1.4"
cairo-rs = { version = "0.15", features=["v1_16", "png", "pdf", "ps", "svg"] }
cast = "0.3.0"
chrono = "0.4.0" # rsvg-convert
clap = "2.34.0" # rsvg-convert
cssparser = "0.28.0"
data-url = "0.1"
encoding = "0.2.33"
float-cmp = "0.9.0"
gdk-pixbuf = "0.15"
gio = { version = "0.15", features = ["v2_50"] } # per configure.ac
glib = { version = "0.15", features = ["v2_50"] }
itertools = "0.10.3"
language-tags = "0.3.1"
libc = "0.2"
locale_config = "*" # recommended explicitly by locale_config's README.md
markup5ever = "0.10"
nalgebra = "0.29.0"
num-traits = "0.2"
once_cell = "1.2.0"
pango = { version = "0.15", features = ["v1_46"] }
pangocairo = "0.15"
rayon = "1"
rctree = "0.4.0"
regex = "1"
rgb = { version="0.8", features=["argb"] }
selectors = "0.23.0"
string_cache = "0.8.0"
tinyvec = { version = "1.2.0", features = ["alloc"] }
url = "2"
xml5ever = "0.16.1"
[dev-dependencies]
anyhow = "1.0"
assert_cmd = "2.0.2"
cairo-rs = { version = "0.15", features = ["png"] }
cast = "0.3.0"
chrono = "0.4.0"
criterion = "0.3"
glib = "0.15"
libc = "0.2"
lopdf = "0.26.0"
matches = "0.1"
pango = "0.15"
pangocairo = "0.15"
png = "0.17.2"
predicates = "2.0.0"
proptest = "1.0.0"
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
tempfile = "3"
test-generator = "0.3"
yeslogic-fontconfig-sys = "2.11.1"
[build-dependencies]
regex = "1.3.9"
system-deps = "6.0.0"
[[bench]]
name = "box_blur"
harness = false
[[bench]]
name = "composite"
harness = false
[[bench]]
name = "lighting"
harness = false
[[bench]]
name = "path_parser"
harness = false
[[bench]]
name = "pixbuf_from_surface"
harness = false
[[bench]]
name = "pixel_iterators"
harness = false
[[bench]]
name = "pixel_ops"
harness = false
[[bench]]
name = "srgb"
harness = false
[[bench]]
name = "surface_from_pixbuf"
harness = false
|