[package]
edition = "2018"
name = "plotters"
version = "0.2.5"
authors = ["Hao Hou <haohou302@gmail.com>"]
exclude = ["doc-template/*"]
description = "Plot Drawing Library in Pure Rust for both native and WASM applications"
readme = "README.md"
keywords = ["WebAssembly", "Visualization", "Plotting", "Drawing"]
categories = ["visualization", "wasm"]
license = "MIT"
repository = "https://github.com/38/plotters"
[dependencies.chrono]
version = "0.4.6"
optional = true
[dependencies.num-traits]
version = "^0.2"
optional = true
[dependencies.palette]
version = "^0.4"
optional = true
default-features = false
[dependencies.svg]
version = "0.5.12"
optional = true
[dev-dependencies.rand]
version = "^0.6.5"
[features]
bitmap = ["image"]
datetime = ["chrono"]
default = ["bitmap", "svg", "chrono", "palette_ext"]
evcxr = ["svg"]
palette_ext = ["palette", "num-traits"]
piston = ["piston_window"]
[target."cfg(not(target_arch = \"wasm32\"))".dependencies.font-loader]
version = "0.8.0"
[target."cfg(not(target_arch = \"wasm32\"))".dependencies.image]
version = "0.21.1"
optional = true
[target."cfg(not(target_arch = \"wasm32\"))".dependencies.lazy_static]
version = "^1.2"
[target."cfg(not(target_arch = \"wasm32\"))".dependencies.piston_window]
version = "0.96.0"
optional = true
[target."cfg(not(target_arch = \"wasm32\"))".dependencies.rusttype]
version = "0.7.6"
[target."cfg(target_arch = \"wasm32\")".dependencies.js-sys]
version = "0.3.4"
[target."cfg(target_arch = \"wasm32\")".dependencies.wasm-bindgen]
version = "0.2.43"
[target."cfg(target_arch = \"wasm32\")".dependencies.web-sys]
version = "0.3.4"
features = ["Document", "Element", "HtmlElement", "Node", "Window", "HtmlCanvasElement", "CanvasRenderingContext2d"]