[package]
edition = "2024"
name = "chartlet"
version = "0.12.2"
build = false
exclude = [
"packages/**",
"plan/**",
"site/**",
"docs/**",
"wasm/**",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Compile structured data into deterministic, accessible static charts"
readme = "README.md"
keywords = [
"charts",
"svg",
"accessibility",
"static",
"visualization",
]
categories = [
"visualization",
"command-line-utilities",
]
license = "MIT AND OFL-1.1"
repository = "https://github.com/casoon/chartlet"
[features]
png = ["dep:resvg"]
[lib]
name = "chartlet"
path = "src/lib.rs"
[[bin]]
name = "chartlet"
path = "src/main.rs"
[[test]]
name = "cli"
path = "tests/cli.rs"
[[test]]
name = "golden"
path = "tests/golden.rs"
[[test]]
name = "hooks"
path = "tests/hooks.rs"
[[test]]
name = "png"
path = "tests/png.rs"
[[test]]
name = "qr"
path = "tests/qr.rs"
[dependencies.resvg]
version = "0.48"
features = ["text"]
optional = true
default-features = false
[dependencies.serde]
version = "1.0"
features = ["derive"]
[dependencies.serde_json]
version = "1.0"
[dependencies.serde_path_to_error]
version = "0.1"
[lints.clippy]
all = "warn"
pedantic = "warn"
[lints.rust]
unsafe_code = "forbid"
[profile.wasm]
opt-level = "z"
lto = true
codegen-units = 1
panic = "abort"
inherits = "release"
strip = true