blob: 5b828f557f7b41292112394e0e830bcdfcc0cf4d [file] [log] [blame]
# 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.1"
authors = ["Hao Hou <haohou302@gmail.com>"]
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.19"
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.4"
[dev-dependencies.itertools]
version = "0.10.0"
[dev-dependencies.plotters-bitmap]
version = "^0.3.*"
[dev-dependencies.rayon]
version = "1.5.1"
[dev-dependencies.serde]
version = "1.0.126"
[dev-dependencies.serde_derive]
version = "1.0.126"
[dev-dependencies.serde_json]
version = "1.0.64"
[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", "ttf-parser", "lazy_static", "pathfinder_geometry"]
[target."cfg(not(target_arch = \"wasm32\"))".dependencies.font-kit]
version = "0.10.0"
optional = true
[target."cfg(not(target_arch = \"wasm32\"))".dependencies.image]
version = "0.23.14"
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.pathfinder_geometry]
version = "0.5.1"
optional = true
[target."cfg(not(target_arch = \"wasm32\"))".dependencies.ttf-parser]
version = "0.12.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"
[target."cfg(target_arch = \"wasm32\")".dependencies.wasm-bindgen]
version = "0.2.62"
[target."cfg(target_arch = \"wasm32\")".dependencies.web-sys]
version = "0.3.51"
features = ["Document", "DomRect", "Element", "HtmlElement", "Node", "Window", "HtmlCanvasElement", "CanvasRenderingContext2d"]
[target."cfg(target_arch = \"wasm32\")".dev-dependencies.wasm-bindgen-test]
version = "0.3.24"