chartlet 0.4.0

Compile structured data into deterministic, accessible static charts
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
name = "chartlet"
version = "0.4.0"
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 = "s"
lto = true
codegen-units = 1
panic = "abort"
inherits = "release"
strip = true