blob: 530924a35f70ec991ec24f88a0a81f182136325c [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 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.7"
authors = ["Hao Hou <[email protected]>"]
build = false
exclude = [
"doc-template",
"plotters-doc-data",
]
autobins = false
autoexamples = false
autotests = false
autobenches = false
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"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
"--cfg",
"doc_cfg",
]
[lib]
name = "plotters"
path = "src/lib.rs"
[[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"
[[bench]]
name = "benchmark"
path = "benches/main.rs"
harness = false
[dependencies.chrono]
version = "0.4.32"
optional = true
[dependencies.num-traits]
version = "0.2.14"
[dependencies.plotters-backend]
version = "0.3.6"
[dependencies.plotters-bitmap]
version = "0.3.6"
optional = true
default-features = false
[dependencies.plotters-svg]
version = "0.3.6"
optional = true
[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"
[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",
]
[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]
version = "0.3.66"
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.39"
[target.'cfg(not(all(target_arch = "wasm32", not(target_os = "wasi"))))'.dependencies.ab_glyph]
version = "0.2.12"
optional = true
[target.'cfg(not(all(target_arch = "wasm32", not(target_os = "wasi"))))'.dependencies.font-kit]
version = "0.14.2"
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.once_cell]
version = "1.8.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.20.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"
[lints.rust.deprecated]
level = "allow"
priority = 0
[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = ["cfg(doc_cfg)"]