[package]
name = "charton"
version = "0.3.0"
edition = "2024"
description = "A high-level, layered charting system for Rust, designed for Polars-first data workflows and multi-backend rendering."
license = "Apache-2.0"
repository = "https://github.com/wangjiawen2013/charton"
authors = ["Jiawen Wang <wangjiawen2013@163.com>"]
[dependencies]
polars = { version="0.49", default-features=false, features = ["lazy", "rank", "pivot", "partition_by"] }
polars-io = { version = "0.49", default-features = false, features = ["parquet"] }
thiserror = "2.0"
time = { version = "0.3", features = ["macros", "formatting"] }
kernel-density-estimation = "0.2"
resvg = "0.45"
csscolorparser = "0.8"
html-escape = "0.2"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
polars = { version="0.49", features = ["ipc"] }
serde = { version = "1.0", features = ["derive"] }
serde_json = { version="1.0" }
base64 = { version="0.22" }