librsvg source for verification 2026-05-22

This commit is contained in:
2026-05-22 16:45:08 +08:00
commit 75af7ac721
2138 changed files with 161177 additions and 0 deletions

39
librsvg-c/Cargo.toml Normal file
View File

@@ -0,0 +1,39 @@
[package]
name = "librsvg-c"
version.workspace = true
authors.workspace = true
description.workspace = true
license.workspace = true
homepage.workspace = true
repository.workspace = true
edition.workspace = true
rust-version.workspace = true
[dependencies]
cairo-rs = { workspace = true, features = ["v1_16", "png", "pdf", "ps", "svg"] }
cast.workspace = true
float-cmp.workspace = true
gdk-pixbuf = { workspace = true, optional = true }
gio.workspace = true
glib.workspace = true
libc.workspace = true
librsvg = { workspace = true, features = ["capi"] }
rgb = { workspace = true, features = ["argb"] }
url.workspace = true
[build-dependencies]
regex.workspace = true
[features]
avif = ["librsvg/avif"]
capi = ["librsvg/capi"]
pixbuf = ["dep:gdk-pixbuf"]
[package.metadata.capi]
min_version = "0.10.10"
[package.metadata.capi.library]
name = "rsvg_2"
[package.metadata.capi.header]
enabled = false