| 1 | [package] |
| 2 | name = "librsvg-c" |
| 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 | [dependencies] |
| 13 | cairo-rs = { workspace = true, features = ["v1_16", "png", "pdf", "ps", "svg"] } |
| 14 | cast.workspace = true |
| 15 | float-cmp.workspace = true |
| 16 | gdk-pixbuf = { workspace = true, optional = true } |
| 17 | gio.workspace = true |
| 18 | glib.workspace = true |
| 19 | libc.workspace = true |
| 20 | librsvg = { workspace = true, features = ["capi"] } |
| 21 | rgb = { workspace = true, features = ["argb"] } |
| 22 | url.workspace = true |
| 23 | |
| 24 | [build-dependencies] |
| 25 | regex.workspace = true |
| 26 | |
| 27 | [features] |
| 28 | avif = ["librsvg/avif"] |
| 29 | capi = ["librsvg/capi"] |
| 30 | pixbuf = ["dep:gdk-pixbuf"] |
| 31 | |
| 32 | [package.metadata.capi] |
| 33 | min_version = "0.10.10" |
| 34 | |
| 35 | [package.metadata.capi.library] |
| 36 | name = "rsvg_2" |
| 37 | |
| 38 | [package.metadata.capi.header] |
| 39 | enabled = false |