# 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 believe there's an error in this file please file an # issue against the rust-lang/cargo repository. If you're # editing this file be aware that the upstream Cargo.toml # will likely look very different (and much more reasonable) [package] edition = "2018" name = "plotchart" version = "0.2.12" authors = ["hugcoday"] exclude = ["doc-template/*"] description = "A Rust drawing library focus on data plotting for both WASM and native applications" readme = "README.md" keywords = ["WebAssembly", "Visualization", "Plotting", "Drawing"] categories = ["visualization", "wasm"] license = "MIT" repository = "https://github.com/hugcoday/plotchart" [profile.bench] debug = true [[bench]] name = "benchmark" path = "benches/main.rs" harness = false [dependencies.chrono] version = "0.4.10" optional = true [dependencies.gif] version = "0.10.3" optional = true [dependencies.num-traits] version = "0.2.10" [dependencies.palette] version = "0.5.0" features = ["std"] optional = true default-features = false [dev-dependencies.criterion] version = "0.3.0" [dev-dependencies.itertools] version = "0.8.2" [dev-dependencies.rand] version = "0.7.2" [dev-dependencies.rand_distr] version = "0.2.2" [dev-dependencies.rand_xorshift] version = "0.2.0" [dev-dependencies.rayon] version = "1.2.1" [features] area_series = [] bitmap = ["ttf"] boxplot = [] cairo = ["cairo-rs", "ttf"] candlestick = [] datetime = ["chrono"] debug = [] default = ["image_encoder", "svg", "chrono", "palette_ext", "gif_backend", "deprecated_items", "bitmap", "ttf", "errorbar", "candlestick", "boxplot", "histogram", "area_series", "line_series", "point_series"] deprecated_items = [] errorbar = [] evcxr = ["svg"] gif_backend = ["gif", "bitmap"] histogram = [] image_encoder = ["image", "bitmap"] line_series = [] palette_ext = ["palette"] piston = ["piston_window", "ttf"] point_series = [] svg = [] ttf = ["font-kit", "rusttype", "lazy_static"] [target."cfg(not(target_arch = \"wasm32\"))".dependencies.cairo-rs] version = "0.8.0" features = ["ps"] optional = true [target."cfg(not(target_arch = \"wasm32\"))".dependencies.font-kit] version = "0.5.0" optional = true [target."cfg(not(target_arch = \"wasm32\"))".dependencies.image] version = "0.22.3" features = ["jpeg", "png_codec", "bmp"] optional = true default-features = false [target."cfg(not(target_arch = \"wasm32\"))".dependencies.lazy_static] version = "1.4.0" optional = true [target."cfg(not(target_arch = \"wasm32\"))".dependencies.piston_window] version = "0.105.0" optional = true [target."cfg(not(target_arch = \"wasm32\"))".dependencies.rusttype] version = "0.8.2" optional = true [target."cfg(target_arch = \"wasm32\")".dependencies.js-sys] version = "0.3.32" [target."cfg(target_arch = \"wasm32\")".dependencies.wasm-bindgen] version = "0.2.55" [target."cfg(target_arch = \"wasm32\")".dependencies.web-sys] version = "0.3.32" features = ["Document", "DomRect", "Element", "HtmlElement", "Node", "Window", "HtmlCanvasElement", "CanvasRenderingContext2d"] [target."cfg(target_arch = \"wasm32\")".dev-dependencies.wasm-bindgen-test] version = "0.3.5"