[package]
name = "resvg"
version = "0.1.2"
edition = "2021"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[lib]
crate-type = ["cdylib"]
path = "resvg.rs"

[dependencies]
resvg = { version = "0.35.0", default-features = false, features = [ "text", "raster-images"  ] }
fontdb = { version = "0.14.1", default-features = false, features = [ "fs" ] }

[package.metadata.wasm-pack.profile.release]
wasm-opt = true

[profile.release]
lto = true
opt-level = 3
strip = true
codegen-units = 1