[[bench]]
harness = false
name = "benchmark"
path = "benches/main.rs"
[dependencies.chrono]
optional = true
version = "0.4.32"
[dependencies.num-traits]
version = "0.2.14"
[dependencies.plotters-backend]
version = "0.3.6"
[dependencies.plotters-bitmap]
default-features = false
optional = true
version = "0.3.6"
[dependencies.plotters-svg]
optional = true
version = "0.3.6"
[dev-dependencies.criterion]
version = "0.5.1"
[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"
[[example]]
name = "3d-plot"
path = "examples/3d-plot.rs"
[[example]]
name = "3d-plot2"
path = "examples/3d-plot2.rs"
[[example]]
name = "animation"
path = "examples/animation.rs"
[[example]]
name = "area-chart"
path = "examples/area-chart.rs"
[[example]]
name = "blit-bitmap"
path = "examples/blit-bitmap.rs"
[[example]]
name = "boxplot"
path = "examples/boxplot.rs"
[[example]]
name = "chart"
path = "examples/chart.rs"
[[example]]
name = "colormaps"
path = "examples/colormaps.rs"
[[example]]
name = "console"
path = "examples/console.rs"
[[example]]
name = "customized_coord"
path = "examples/customized_coord.rs"
[[example]]
name = "errorbar"
path = "examples/errorbar.rs"
[[example]]
name = "full_palette"
path = "examples/full_palette.rs"
[[example]]
name = "histogram"
path = "examples/histogram.rs"
[[example]]
name = "mandelbrot"
path = "examples/mandelbrot.rs"
[[example]]
name = "matshow"
path = "examples/matshow.rs"
[[example]]
name = "nested_coord"
path = "examples/nested_coord.rs"
[[example]]
name = "normal-dist"
path = "examples/normal-dist.rs"
[[example]]
name = "normal-dist2"
path = "examples/normal-dist2.rs"
[[example]]
name = "pie"
path = "examples/pie.rs"
[[example]]
name = "relative_size"
path = "examples/relative_size.rs"
[[example]]
name = "sierpinski"
path = "examples/sierpinski.rs"
[[example]]
name = "slc-temp"
path = "examples/slc-temp.rs"
[[example]]
name = "snowflake"
path = "examples/snowflake.rs"
[[example]]
name = "stock"
path = "examples/stock.rs"
[[example]]
name = "tick_control"
path = "examples/tick_control.rs"
[[example]]
name = "two-scales"
path = "examples/two-scales.rs"
[features]
ab_glyph = ["dep:ab_glyph", "once_cell"]
all_elements = ["errorbar", "candlestick", "boxplot", "histogram"]
all_series = ["area_series", "line_series", "point_series", "surface_series"]
area_series = []
bitmap_backend = ["plotters-bitmap"]
bitmap_encoder = ["plotters-bitmap/image_encoder"]
bitmap_gif = ["plotters-bitmap/gif_backend"]
boxplot = []
candlestick = []
colormaps = []
datetime = ["chrono"]
default = ["bitmap_backend", "bitmap_encoder", "bitmap_gif", "svg_backend", "chrono", "ttf", "image", "deprecated_items", "all_series", "all_elements", "full_palette", "colormaps"]
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"]
[lib]
name = "plotters"
path = "src/lib.rs"
[lints.rust.deprecated]
level = "allow"
priority = 0
[lints.rust.unexpected_cfgs]
check-cfg = ["cfg(doc_cfg)"]
level = "warn"
priority = 0
[package]
authors = ["Hao Hou <haohou302@gmail.com>"]
autobenches = false
autobins = false
autoexamples = false
autotests = false
build = false
categories = ["visualization", "wasm"]
description = "A Rust drawing library focus on data plotting for both WASM and native applications"
edition = "2018"
exclude = ["doc-template", "plotters-doc-data"]
homepage = "https://plotters-rs.github.io/"
keywords = ["WebAssembly", "Visualization", "Plotting", "Drawing"]
license = "MIT"
name = "plotters"
readme = "README.md"
repository = "https://github.com/plotters-rs/plotters"
version = "0.3.7"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "doc_cfg"]
[target.'cfg(all(target_arch = "wasm32", not(target_os = "wasi")))'.dependencies.wasm-bindgen]
version = "0.2.89"
[target.'cfg(all(target_arch = "wasm32", not(target_os = "wasi")))'.dependencies.web-sys]
features = ["Document", "DomRect", "Element", "HtmlElement", "Node", "Window", "HtmlCanvasElement", "CanvasRenderingContext2d"]
version = "0.3.66"
[target.'cfg(all(target_arch = "wasm32", not(target_os = "wasi")))'.dev-dependencies.wasm-bindgen-test]
version = "0.3.39"
[target.'cfg(not(all(target_arch = "wasm32", not(target_os = "wasi"))))'.dependencies.ab_glyph]
optional = true
version = "0.2.12"
[target.'cfg(not(all(target_arch = "wasm32", not(target_os = "wasi"))))'.dependencies.font-kit]
optional = true
version = "0.14.2"
[target.'cfg(not(all(target_arch = "wasm32", not(target_os = "wasi"))))'.dependencies.image]
default-features = false
features = ["jpeg", "png", "bmp"]
optional = true
version = "0.24.3"
[target.'cfg(not(all(target_arch = "wasm32", not(target_os = "wasi"))))'.dependencies.lazy_static]
optional = true
version = "1.4.0"
[target.'cfg(not(all(target_arch = "wasm32", not(target_os = "wasi"))))'.dependencies.once_cell]
optional = true
version = "1.8.0"
[target.'cfg(not(all(target_arch = "wasm32", not(target_os = "wasi"))))'.dependencies.pathfinder_geometry]
optional = true
version = "0.5.1"
[target.'cfg(not(all(target_arch = "wasm32", not(target_os = "wasi"))))'.dependencies.ttf-parser]
optional = true
version = "0.20.0"
[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"