1# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
2#
3# When uploading crates to the registry Cargo will automatically
4# "normalize" Cargo.toml files for maximal compatibility
5# with all versions of Cargo and also rewrite `path` dependencies
6# to registry (e.g., crates.io) dependencies
7#
8# If you believe there's an error in this file please file an
9# issue against the rust-lang/cargo repository. If you're
10# editing this file be aware that the upstream Cargo.toml
11# will likely look very different (and much more reasonable)
12
13[package]
14edition = "2018"
15name = "plotters"
16version = "0.3.0"
17authors = ["Hao Hou <haohou302@gmail.com>"]
18exclude = ["doc-template/*"]
19description = "A Rust drawing library focus on data plotting for both WASM and native applications"
20homepage = "https://plotters-rs.github.io/"
21readme = "README.md"
22keywords = ["WebAssembly", "Visualization", "Plotting", "Drawing"]
23categories = ["visualization", "wasm"]
24license = "MIT"
25repository = "https://github.com/38/plotters"
26
27[[bench]]
28name = "benchmark"
29path = "benches/main.rs"
30harness = false
31[dependencies.chrono]
32version = "0.4.11"
33optional = true
34
35[dependencies.num-traits]
36version = "0.2.11"
37
38[dependencies.plotters-backend]
39version = "^0.3.*"
40
41[dependencies.plotters-bitmap]
42version = "^0.3.*"
43optional = true
44default_features = false
45
46[dependencies.plotters-svg]
47version = "^0.3.*"
48optional = true
49[dev-dependencies.criterion]
50version = "0.3.2"
51
52[dev-dependencies.itertools]
53version = "0.9.0"
54
55[dev-dependencies.plotters-bitmap]
56version = "^0.3.*"
57
58[dev-dependencies.rand]
59version = "0.7.3"
60
61[dev-dependencies.rand_distr]
62version = "0.2.2"
63
64[dev-dependencies.rand_xorshift]
65version = "0.2.0"
66
67[dev-dependencies.rayon]
68version = "1.3.0"
69
70[features]
71all_elements = ["errorbar", "candlestick", "boxplot", "histogram"]
72all_series = ["area_series", "line_series", "point_series", "surface_series"]
73area_series = []
74bitmap_backend = ["plotters-bitmap", "ttf"]
75bitmap_encoder = ["plotters-bitmap/image_encoder"]
76bitmap_gif = ["plotters-bitmap/gif_backend"]
77boxplot = []
78candlestick = []
79datetime = ["chrono"]
80default = ["bitmap_backend", "bitmap_encoder", "bitmap_gif", "svg_backend", "chrono", "ttf", "image", "deprecated_items", "all_series", "all_elements"]
81deprecated_items = []
82errorbar = []
83evcxr = ["svg_backend"]
84histogram = []
85line_series = []
86point_series = []
87surface_series = []
88svg_backend = ["plotters-svg"]
89ttf = ["font-kit", "rusttype", "lazy_static"]
90[target."cfg(not(target_arch = \"wasm32\"))".dependencies.font-kit]
91version = "0.7.0"
92optional = true
93
94[target."cfg(not(target_arch = \"wasm32\"))".dependencies.image]
95version = "0.23.4"
96features = ["jpeg", "png", "bmp"]
97optional = true
98default-features = false
99
100[target."cfg(not(target_arch = \"wasm32\"))".dependencies.lazy_static]
101version = "1.4.0"
102optional = true
103
104[target."cfg(not(target_arch = \"wasm32\"))".dependencies.rusttype]
105version = "0.8.2"
106optional = true
107[target."cfg(target_arch = \"wasm32\")".dependencies.wasm-bindgen]
108version = "0.2.62"
109
110[target."cfg(target_arch = \"wasm32\")".dependencies.web-sys]
111version = "0.3.39"
112features = ["Document", "DomRect", "Element", "HtmlElement", "Node", "Window", "HtmlCanvasElement", "CanvasRenderingContext2d"]
113[target."cfg(target_arch = \"wasm32\")".dev-dependencies.wasm-bindgen-test]
114version = "0.3.12"
115