File: Cargo.toml

package info (click to toggle)
resvg 0.8.0-4
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, sid
  • size: 1,924 kB
  • sloc: cpp: 2,398; python: 107; makefile: 81; ansic: 76; sh: 15
file content (47 lines) | stat: -rw-r--r-- 1,098 bytes parent folder | download
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
[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",
    "capi",
    "tools/rendersvg",
    "tools/usvg",
    "usvg",
]

[badges]
travis-ci = { repository = "RazrFalcon/resvg" }

[dependencies]
log = "0.4"
rgb = "0.8"
usvg = { path = "usvg", version = "0.8" }
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 }

[features]
cairo-backend = ["cairo-rs", "png/png-encoding"]
qt-backend = ["resvg-qt"]

[package.metadata.docs.rs]
all-features = true

[lib]
doctest = false