# 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 = "2018" name = "plotters" version = "0.3.4" authors = ["Hao Hou "] exclude = [ "doc-template", "plotters-doc-data", ] 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/plotters-rs/plotters" [[bench]] name = "benchmark" path = "benches/main.rs" harness = false [dependencies.chrono] version = "0.4.20" optional = true [dependencies.num-traits] version = "0.2.14" [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.6" [dev-dependencies.itertools] version = "0.10.0" [dev-dependencies.rayon] version = "1.5.1" [dev-dependencies.serde] version = "1.0.139" [dev-dependencies.serde_derive] version = "1.0.140" [dev-dependencies.serde_json] version = "1.0.82" [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", "full_palette", ] deprecated_items = [] errorbar = [] evcxr = ["svg_backend"] evcxr_bitmap = [ "evcxr", "bitmap_backend", "plotters-svg/bitmap_encoder", ] fontconfig-dlopen = ["font-kit/source-fontconfig-dlopen"] full_palette = [] histogram = [] line_series = [] point_series = [] surface_series = [] svg_backend = ["plotters-svg"] ttf = [ "font-kit", "ttf-parser", "lazy_static", "pathfinder_geometry", ] [target."cfg(all(target_arch = \"wasm32\", not(target_os = \"wasi\")))".dependencies.wasm-bindgen] version = "0.2.62" [target."cfg(all(target_arch = \"wasm32\", not(target_os = \"wasi\")))".dependencies.web-sys] version = "0.3.51" features = [ "Document", "DomRect", "Element", "HtmlElement", "Node", "Window", "HtmlCanvasElement", "CanvasRenderingContext2d", ] [target."cfg(all(target_arch = \"wasm32\", not(target_os = \"wasi\")))".dev-dependencies.wasm-bindgen-test] version = "0.3.24" [target."cfg(not(all(target_arch = \"wasm32\", not(target_os = \"wasi\"))))".dependencies.font-kit] version = "0.11.0" optional = true [target."cfg(not(all(target_arch = \"wasm32\", not(target_os = \"wasi\"))))".dependencies.image] version = "0.24.3" features = [ "jpeg", "png", "bmp", ] optional = true default-features = false [target."cfg(not(all(target_arch = \"wasm32\", not(target_os = \"wasi\"))))".dependencies.lazy_static] version = "1.4.0" optional = true [target."cfg(not(all(target_arch = \"wasm32\", not(target_os = \"wasi\"))))".dependencies.pathfinder_geometry] version = "0.5.1" optional = true [target."cfg(not(all(target_arch = \"wasm32\", not(target_os = \"wasi\"))))".dependencies.ttf-parser] version = "0.15.0" optional = true [target."cfg(not(target_arch = \"wasm32\"))".dev-dependencies.rand] version = "0.8.3" [target."cfg(not(target_arch = \"wasm32\"))".dev-dependencies.rand_distr] version = "0.4.0" [target."cfg(not(target_arch = \"wasm32\"))".dev-dependencies.rand_xorshift] version = "0.3.0"