# 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 = "plotters" version = "0.3.0" authors = ["Hao Hou "] exclude = ["doc-template/*"] description = "A Rust drawing library focus on data plotting for both WASM and native applications" homepage = "https://plotters-rs.github.io/" readme = "README.md" keywords = ["WebAssembly", "Visualization", "Plotting", "Drawing"] categories = ["visualization", "wasm"] license = "MIT" repository = "https://github.com/38/plotters" [[bench]] name = "benchmark" path = "benches/main.rs" harness = false [dependencies.chrono] version = "0.4.11" optional = true [dependencies.num-traits] version = "0.2.11" [dependencies.plotters-backend] version = "^0.3.*" [dependencies.plotters-bitmap] version = "^0.3.*" optional = true default_features = false [dependencies.plotters-svg] version = "^0.3.*" optional = true [dev-dependencies.criterion] version = "0.3.2" [dev-dependencies.itertools] version = "0.9.0" [dev-dependencies.plotters-bitmap] version = "^0.3.*" [dev-dependencies.rand] version = "0.7.3" [dev-dependencies.rand_distr] version = "0.2.2" [dev-dependencies.rand_xorshift] version = "0.2.0" [dev-dependencies.rayon] version = "1.3.0" [features] all_elements = ["errorbar", "candlestick", "boxplot", "histogram"] all_series = ["area_series", "line_series", "point_series", "surface_series"] area_series = [] bitmap_backend = ["plotters-bitmap", "ttf"] bitmap_encoder = ["plotters-bitmap/image_encoder"] bitmap_gif = ["plotters-bitmap/gif_backend"] boxplot = [] candlestick = [] datetime = ["chrono"] default = ["bitmap_backend", "bitmap_encoder", "bitmap_gif", "svg_backend", "chrono", "ttf", "image", "deprecated_items", "all_series", "all_elements"] deprecated_items = [] errorbar = [] evcxr = ["svg_backend"] histogram = [] line_series = [] point_series = [] surface_series = [] svg_backend = ["plotters-svg"] ttf = ["font-kit", "rusttype", "lazy_static"] [target."cfg(not(target_arch = \"wasm32\"))".dependencies.font-kit] version = "0.7.0" optional = true [target."cfg(not(target_arch = \"wasm32\"))".dependencies.image] version = "0.23.4" features = ["jpeg", "png", "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.rusttype] version = "0.8.2" optional = true [target."cfg(target_arch = \"wasm32\")".dependencies.wasm-bindgen] version = "0.2.62" [target."cfg(target_arch = \"wasm32\")".dependencies.web-sys] version = "0.3.39" features = ["Document", "DomRect", "Element", "HtmlElement", "Node", "Window", "HtmlCanvasElement", "CanvasRenderingContext2d"] [target."cfg(target_arch = \"wasm32\")".dev-dependencies.wasm-bindgen-test] version = "0.3.12"