forked from linebender/resvg
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
54 lines (48 loc) · 1.46 KB
/
Cargo.toml
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
[package]
name = "resvg"
# When updating version, also modify html_root_url in the lib.rs, in the README and in the rendersvg
version = "0.3.0"
authors = ["Evgeniy Reizner <[email protected]>"]
keywords = ["svg", "render", "raster"]
license = "MPL-2.0"
description = "An SVG rendering library."
documentation = "https://docs.rs/resvg/"
repository = "https://github.com/RazrFalcon/resvg"
readme = "README.md"
categories = ["multimedia::images"]
[workspace]
members = [
"capi",
"tools/rendersvg",
"examples/cairo-rs",
]
exclude = [
"examples/cairo-rs",
"testing_tools",
"workdir-qt", # for CI tests
"workdir-cairo", # for CI tests
]
[badges]
travis-ci = { repository = "RazrFalcon/resvg" }
[dependencies]
log = "0.4"
#usvg = "0.2"
usvg = { git = "https://github.com/RazrFalcon/usvg", rev = "803c4f7" }
#usvg = { path = "../usvg" }
# cairo backend
cairo-rs = { version = "0.4.1", features = ["png"], optional = true }
gdk-pixbuf = { version = "0.4", optional = true }
pango = { version = "0.4", optional = true }
pangocairo = { version = "0.5", optional = true }
# qt backend
#resvg-qt = { version = "0.3", optional = true }
#resvg-qt = { path = "../resvg-qt", optional = true }
resvg-qt = { git = "https://github.com/RazrFalcon/resvg-qt", rev = "fd0ed4f", optional = true }
unicode-segmentation = "1.2.1"
[features]
cairo-backend = ["cairo-rs", "pango", "pangocairo", "gdk-pixbuf"]
qt-backend = ["resvg-qt"]
[lib]
doctest = false
[profile.release]
lto = true