[package]
name = "chartlet"
version = "0.2.0"
edition = "2024"
license = "MIT AND OFL-1.1"
description = "Compile structured data into deterministic, accessible static charts"
repository = "https://github.com/casoon/chartlet"
readme = "README.md"
keywords = ["charts", "svg", "accessibility", "static", "visualization"]
categories = ["visualization", "command-line-utilities"]
exclude = ["packages/**", "plan/**", "site/**", "docs/**", "wasm/**"]
[dependencies]
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
serde_path_to_error = "0.1"
resvg = { version = "0.48", default-features = false, features = ["text"], optional = true }
[features]
png = ["dep:resvg"]
[lints.rust]
unsafe_code = "forbid"
[lints.clippy]
all = "warn"
pedantic = "warn"
[workspace]
members = ["wasm"]
[profile.wasm]
inherits = "release"
opt-level = "s"
lto = true
codegen-units = 1
panic = "abort"
strip = true