blob: dca2f3a3ca37b6f9e7af34a4efbd7f6105e75bad [file] [log] [blame]
Jakub Kotur00e4d272020-12-21 17:28:15 +01001# 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"
Joel Galensone2d8e8d2021-04-05 10:43:32 -070016version = "0.3.0"
Jakub Kotur00e4d272020-12-21 17:28:15 +010017authors = ["Hao Hou <haohou302@gmail.com>"]
18exclude = ["doc-template/*"]
19description = "A Rust drawing library focus on data plotting for both WASM and native applications"
Joel Galensone2d8e8d2021-04-05 10:43:32 -070020homepage = "https://plotters-rs.github.io/"
Jakub Kotur00e4d272020-12-21 17:28:15 +010021readme = "README.md"
22keywords = ["WebAssembly", "Visualization", "Plotting", "Drawing"]
23categories = ["visualization", "wasm"]
24license = "MIT"
25repository = "https://github.com/38/plotters"
Jakub Kotur00e4d272020-12-21 17:28:15 +010026
27[[bench]]
28name = "benchmark"
29path = "benches/main.rs"
30harness = false
31[dependencies.chrono]
32version = "0.4.11"
33optional = true
34
Jakub Kotur00e4d272020-12-21 17:28:15 +010035[dependencies.num-traits]
36version = "0.2.11"
37
Joel Galensone2d8e8d2021-04-05 10:43:32 -070038[dependencies.plotters-backend]
39version = "^0.3.*"
40
41[dependencies.plotters-bitmap]
42version = "^0.3.*"
Jakub Kotur00e4d272020-12-21 17:28:15 +010043optional = true
Joel Galensone2d8e8d2021-04-05 10:43:32 -070044default_features = false
45
46[dependencies.plotters-svg]
47version = "^0.3.*"
48optional = true
Jakub Kotur00e4d272020-12-21 17:28:15 +010049[dev-dependencies.criterion]
50version = "0.3.2"
51
52[dev-dependencies.itertools]
53version = "0.9.0"
54
Joel Galensone2d8e8d2021-04-05 10:43:32 -070055[dev-dependencies.plotters-bitmap]
56version = "^0.3.*"
57
Jakub Kotur00e4d272020-12-21 17:28:15 +010058[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]
Joel Galensone2d8e8d2021-04-05 10:43:32 -070071all_elements = ["errorbar", "candlestick", "boxplot", "histogram"]
72all_series = ["area_series", "line_series", "point_series", "surface_series"]
Jakub Kotur00e4d272020-12-21 17:28:15 +010073area_series = []
Joel Galensone2d8e8d2021-04-05 10:43:32 -070074bitmap_backend = ["plotters-bitmap", "ttf"]
75bitmap_encoder = ["plotters-bitmap/image_encoder"]
76bitmap_gif = ["plotters-bitmap/gif_backend"]
Jakub Kotur00e4d272020-12-21 17:28:15 +010077boxplot = []
Jakub Kotur00e4d272020-12-21 17:28:15 +010078candlestick = []
79datetime = ["chrono"]
Joel Galensone2d8e8d2021-04-05 10:43:32 -070080default = ["bitmap_backend", "bitmap_encoder", "bitmap_gif", "svg_backend", "chrono", "ttf", "image", "deprecated_items", "all_series", "all_elements"]
Jakub Kotur00e4d272020-12-21 17:28:15 +010081deprecated_items = []
82errorbar = []
Joel Galensone2d8e8d2021-04-05 10:43:32 -070083evcxr = ["svg_backend"]
Jakub Kotur00e4d272020-12-21 17:28:15 +010084histogram = []
Jakub Kotur00e4d272020-12-21 17:28:15 +010085line_series = []
Jakub Kotur00e4d272020-12-21 17:28:15 +010086point_series = []
Joel Galensone2d8e8d2021-04-05 10:43:32 -070087surface_series = []
88svg_backend = ["plotters-svg"]
Jakub Kotur00e4d272020-12-21 17:28:15 +010089ttf = ["font-kit", "rusttype", "lazy_static"]
Jakub Kotur00e4d272020-12-21 17:28:15 +010090[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
Jakub Kotur00e4d272020-12-21 17:28:15 +0100104[target."cfg(not(target_arch = \"wasm32\"))".dependencies.rusttype]
105version = "0.8.2"
106optional = true
Jakub Kotur00e4d272020-12-21 17:28:15 +0100107[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"