-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
executable file
·61 lines (50 loc) · 1.54 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
55
56
57
58
59
60
61
[package]
name = "resvg"
version = "0.8.0"
authors = ["Evgeniy Reizner <razrfalcon@gmail.com>"]
keywords = ["svg", "render", "raster"]
license = "MPL-2.0"
edition = "2018"
description = "An SVG rendering library."
documentation = "https://docs.rs/resvg/"
repository = "https://github.com/RazrFalcon/resvg"
readme = "README.md"
categories = ["multimedia::images"]
[workspace]
members = [
"bindings/resvg-qt",
"bindings/resvg-skia",
"capi",
"tools/rendersvg",
"tools/rendersvgsrv",
"tools/usvg",
"usvg",
]
[badges]
travis-ci = { repository = "RazrFalcon/resvg" }
[dependencies]
log = "0.4"
rgb = "0.8"
usvg = { path = "usvg", version = "0.8", default-features = false }
png = { version = "0.15", default-features = false }
jpeg-decoder = { version = "0.1.15", default-features = false }
# cairo backend
cairo-rs = { version = "0.7.1", default-features = false, features = ["png"], optional = true }
# qt backend
resvg-qt = { path = "bindings/resvg-qt", version = "0.8", optional = true }
# raqote backend
raqote = { version = "0.7.3", default-features = false, optional = true }
# skia backend
resvg-skia = { path = "bindings/resvg-skia", version = "0.8", optional = true }
[features]
default = ["text"]
cairo-backend = ["cairo-rs", "png/png-encoding"]
qt-backend = ["resvg-qt"]
raqote-backend = ["raqote"]
skia-backend = ["resvg-skia"]
text = ["usvg/text"]
[package.metadata.docs.rs]
# Ignore skia-backend since it cannot be built on docs.rs instance.
features = ["cairo-backend", "qt-backend", "raqote-backend"]
[lib]
doctest = false