blob: 5b828f557f7b41292112394e0e830bcdfcc0cf4d [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 Galensonf13194f2021-06-21 13:38:59 -070016version = "0.3.1"
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]
Joel Galensonf13194f2021-06-21 13:38:59 -070032version = "0.4.19"
Jakub Kotur00e4d272020-12-21 17:28:15 +010033optional = true
34
Jakub Kotur00e4d272020-12-21 17:28:15 +010035[dependencies.num-traits]
Joel Galensonf13194f2021-06-21 13:38:59 -070036version = "0.2.14"
Jakub Kotur00e4d272020-12-21 17:28:15 +010037
Joel Galensone2d8e8d2021-04-05 10:43:32 -070038[dependencies.plotters-backend]
Joel Galensonf13194f2021-06-21 13:38:59 -070039version = "^0.3"
Joel Galensone2d8e8d2021-04-05 10:43:32 -070040
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]
Joel Galensonf13194f2021-06-21 13:38:59 -070050version = "0.3.4"
Jakub Kotur00e4d272020-12-21 17:28:15 +010051
52[dev-dependencies.itertools]
Joel Galensonf13194f2021-06-21 13:38:59 -070053version = "0.10.0"
Jakub Kotur00e4d272020-12-21 17:28:15 +010054
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.rayon]
Joel Galensonf13194f2021-06-21 13:38:59 -070059version = "1.5.1"
60
61[dev-dependencies.serde]
62version = "1.0.126"
63
64[dev-dependencies.serde_derive]
65version = "1.0.126"
66
67[dev-dependencies.serde_json]
68version = "1.0.64"
Jakub Kotur00e4d272020-12-21 17:28:15 +010069
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"]
Joel Galensonf13194f2021-06-21 13:38:59 -070089ttf = ["font-kit", "ttf-parser", "lazy_static", "pathfinder_geometry"]
Jakub Kotur00e4d272020-12-21 17:28:15 +010090[target."cfg(not(target_arch = \"wasm32\"))".dependencies.font-kit]
Joel Galensonf13194f2021-06-21 13:38:59 -070091version = "0.10.0"
Jakub Kotur00e4d272020-12-21 17:28:15 +010092optional = true
93
94[target."cfg(not(target_arch = \"wasm32\"))".dependencies.image]
Joel Galensonf13194f2021-06-21 13:38:59 -070095version = "0.23.14"
Jakub Kotur00e4d272020-12-21 17:28:15 +010096features = ["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
Joel Galensonf13194f2021-06-21 13:38:59 -0700104[target."cfg(not(target_arch = \"wasm32\"))".dependencies.pathfinder_geometry]
105version = "0.5.1"
Jakub Kotur00e4d272020-12-21 17:28:15 +0100106optional = true
Joel Galensonf13194f2021-06-21 13:38:59 -0700107
108[target."cfg(not(target_arch = \"wasm32\"))".dependencies.ttf-parser]
109version = "0.12.0"
110optional = true
111[target."cfg(not(target_arch = \"wasm32\"))".dev-dependencies.rand]
112version = "0.8.3"
113
114[target."cfg(not(target_arch = \"wasm32\"))".dev-dependencies.rand_distr]
115version = "0.4.0"
116
117[target."cfg(not(target_arch = \"wasm32\"))".dev-dependencies.rand_xorshift]
118version = "0.3.0"
Jakub Kotur00e4d272020-12-21 17:28:15 +0100119[target."cfg(target_arch = \"wasm32\")".dependencies.wasm-bindgen]
120version = "0.2.62"
121
122[target."cfg(target_arch = \"wasm32\")".dependencies.web-sys]
Joel Galensonf13194f2021-06-21 13:38:59 -0700123version = "0.3.51"
Jakub Kotur00e4d272020-12-21 17:28:15 +0100124features = ["Document", "DomRect", "Element", "HtmlElement", "Node", "Window", "HtmlCanvasElement", "CanvasRenderingContext2d"]
125[target."cfg(target_arch = \"wasm32\")".dev-dependencies.wasm-bindgen-test]
Joel Galensonf13194f2021-06-21 13:38:59 -0700126version = "0.3.24"