-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathCargo.toml
More file actions
29 lines (27 loc) · 1.25 KB
/
Cargo.toml
File metadata and controls
29 lines (27 loc) · 1.25 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
[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"] }
# Avoids transitive mio dependency to ensure Wasm compatibility.
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"
# --- Conditional Compilation Block ---
# Only add the 'ipc' feature when the target architecture is not wasm32.
# 'ipc' feature is used by bridge module and is not compatible with webassembly.
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
# Here, the feature list for polars will "merge" with the list in the [dependencies] section above.
polars = { version="0.49", features = ["ipc"] }
serde = { version = "1.0", features = ["derive"] }
serde_json = { version="1.0" }
base64 = { version="0.22" }