charton 0.3.0

A high-level, layered charting system for Rust, designed for Polars-first data workflows and multi-backend rendering.
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 = "charton"
version = "0.3.0"
authors = ["Jiawen Wang <wangjiawen2013@163.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A high-level, layered charting system for Rust, designed for Polars-first data workflows and multi-backend rendering."
readme = "README.md"
license = "Apache-2.0"
repository = "https://github.com/wangjiawen2013/charton"

[lib]
name = "charton"
path = "src/lib.rs"

[[example]]
name = "2d_density"
path = "examples/2d_density.rs"

[[example]]
name = "altair"
path = "examples/altair.rs"

[[example]]
name = "area"
path = "examples/area.rs"

[[example]]
name = "bar_with_errorbar"
path = "examples/bar_with_errorbar.rs"

[[example]]
name = "base"
path = "examples/base.rs"

[[example]]
name = "cumulative_frequency"
path = "examples/cumulative_frequency.rs"

[[example]]
name = "density"
path = "examples/density.rs"

[[example]]
name = "distribution"
path = "examples/distribution.rs"

[[example]]
name = "donut"
path = "examples/donut.rs"

[[example]]
name = "errorbar"
path = "examples/errorbar.rs"

[[example]]
name = "grouped_bar"
path = "examples/grouped_bar.rs"

[[example]]
name = "grouped_boxplot"
path = "examples/grouped_boxplot.rs"

[[example]]
name = "heatmap"
path = "examples/heatmap.rs"

[[example]]
name = "histogram"
path = "examples/histogram.rs"

[[example]]
name = "line"
path = "examples/line.rs"

[[example]]
name = "line_with_error"
path = "examples/line_with_error.rs"

[[example]]
name = "log_scale"
path = "examples/log_scale.rs"

[[example]]
name = "matplotlib"
path = "examples/matplotlib.rs"

[[example]]
name = "nightingale"
path = "examples/nightingale.rs"

[[example]]
name = "pie"
path = "examples/pie.rs"

[[example]]
name = "rose"
path = "examples/rose.rs"

[[example]]
name = "rule"
path = "examples/rule.rs"

[[example]]
name = "scatter"
path = "examples/scatter.rs"

[[example]]
name = "stacked_bar"
path = "examples/stacked_bar.rs"

[[example]]
name = "swapped_axes"
path = "examples/swapped_axes.rs"

[[example]]
name = "text"
path = "examples/text.rs"

[[example]]
name = "time_scale"
path = "examples/time_scale.rs"

[[test]]
name = "test_altair"
path = "tests/test_altair.rs"

[[test]]
name = "test_area"
path = "tests/test_area.rs"

[[test]]
name = "test_bar"
path = "tests/test_bar.rs"

[[test]]
name = "test_base"
path = "tests/test_base.rs"

[[test]]
name = "test_boxplot"
path = "tests/test_boxplot.rs"

[[test]]
name = "test_empty"
path = "tests/test_empty.rs"

[[test]]
name = "test_errorbar"
path = "tests/test_errorbar.rs"

[[test]]
name = "test_histogram"
path = "tests/test_histogram.rs"

[[test]]
name = "test_line"
path = "tests/test_line.rs"

[[test]]
name = "test_pie"
path = "tests/test_pie.rs"

[[test]]
name = "test_rect"
path = "tests/test_rect.rs"

[[test]]
name = "test_rule"
path = "tests/test_rule.rs"

[[test]]
name = "test_scatter"
path = "tests/test_scatter.rs"

[[test]]
name = "test_text"
path = "tests/test_text.rs"

[[test]]
name = "test_to_svg"
path = "tests/test_to_svg.rs"

[[test]]
name = "test_transform_calculate"
path = "tests/test_transform_calculate.rs"

[[test]]
name = "test_transform_window"
path = "tests/test_transform_window.rs"

[dependencies.csscolorparser]
version = "0.8"

[dependencies.html-escape]
version = "0.2"

[dependencies.kernel-density-estimation]
version = "0.2"

[dependencies.polars]
version = "0.49"
features = [
    "lazy",
    "rank",
    "pivot",
    "partition_by",
]
default-features = false

[dependencies.polars-io]
version = "0.49"
features = ["parquet"]
default-features = false

[dependencies.resvg]
version = "0.45"

[dependencies.thiserror]
version = "2.0"

[dependencies.time]
version = "0.3"
features = [
    "macros",
    "formatting",
]

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.base64]
version = "0.22"

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.polars]
version = "0.49"
features = ["ipc"]

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.serde]
version = "1.0"
features = ["derive"]

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.serde_json]
version = "1.0"