# 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 = "2021" rust-version = "1.65" name = "charts-rs" version = "0.3.19" authors = ["Tree Xie "] build = false exclude = [ "asset/*", "test/*", "charts-rs-derive/*", "Cargo.lock", ] autobins = false autoexamples = false autotests = false autobenches = false description = "A charts library for rust" homepage = "https://github.com/vicanso/charts-rs" readme = "README.md" keywords = [ "charts", "svg", "plot", "visualization", "graph", ] categories = ["multimedia::images"] license = "MPL-2.0" repository = "https://github.com/vicanso/charts-rs" [package.metadata.docs.rs] all-features = true [lib] name = "charts_rs" path = "src/lib.rs" [[test]] name = "bar_chart" path = "tests/bar_chart.rs" [[test]] name = "candlestick_chart" path = "tests/candlestick_chart.rs" [[test]] name = "heatmap_chart" path = "tests/heatmap_chart.rs" [[test]] name = "horizontal_bar_chart" path = "tests/horizontal_bar_chart.rs" [[test]] name = "image" path = "tests/image.rs" [[test]] name = "line_chart" path = "tests/line_chart.rs" [[test]] name = "multi_chart" path = "tests/multi_chart.rs" [[test]] name = "pie_chart" path = "tests/pie_chart.rs" [[test]] name = "radar_chart" path = "tests/radar_chart.rs" [[test]] name = "scatter_chart" path = "tests/scatter_chart.rs" [[test]] name = "table_chart" path = "tests/table_chart.rs" [[bench]] name = "bench" path = "benches/bench.rs" harness = false [dependencies.ahash] version = "0.8.11" [dependencies.arc-swap] version = "1.7.1" [dependencies.charts-rs-derive] version = "0.2.2" [dependencies.fontdue] version = "0.9.2" [dependencies.image] version = "0.25.4" features = [ "webp", "avif", "jpeg", "png", ] optional = true [dependencies.once_cell] version = "1.20.2" [dependencies.regex] version = "1.11.0" [dependencies.resvg] version = "0.44.0" features = [ "text", "system-fonts", ] optional = true default-features = false [dependencies.serde] version = "1.0.213" features = ["derive"] [dependencies.serde_json] version = "1.0.132" [dependencies.snafu] version = "0.8.5" [dependencies.substring] version = "1.4.5" [dev-dependencies.criterion] version = "0.5.1" [dev-dependencies.pretty_assertions] version = "1.4.1" [features] image-encoder = [ "resvg", "image", ]