• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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 are reading this file be aware that the original Cargo.toml
9# will likely look very different (and much more reasonable).
10# See Cargo.toml.orig for the original contents.
11
12[package]
13edition = "2018"
14name = "plotters"
15version = "0.3.4"
16authors = ["Hao Hou <haohou302@gmail.com>"]
17exclude = [
18    "doc-template",
19    "plotters-doc-data",
20]
21description = "A Rust drawing library focus on data plotting for both WASM and native applications"
22homepage = "https://plotters-rs.github.io/"
23readme = "README.md"
24keywords = [
25    "WebAssembly",
26    "Visualization",
27    "Plotting",
28    "Drawing",
29]
30categories = [
31    "visualization",
32    "wasm",
33]
34license = "MIT"
35repository = "https://github.com/plotters-rs/plotters"
36
37[[bench]]
38name = "benchmark"
39path = "benches/main.rs"
40harness = false
41
42[dependencies.chrono]
43version = "0.4.20"
44optional = true
45
46[dependencies.num-traits]
47version = "0.2.14"
48
49[dependencies.plotters-backend]
50version = "0.3"
51
52[dependencies.plotters-bitmap]
53version = "0.3"
54optional = true
55default_features = false
56
57[dependencies.plotters-svg]
58version = "^0.3"
59optional = true
60
61[dev-dependencies.criterion]
62version = "0.3.6"
63
64[dev-dependencies.itertools]
65version = "0.10.0"
66
67[dev-dependencies.rayon]
68version = "1.5.1"
69
70[dev-dependencies.serde]
71version = "1.0.139"
72
73[dev-dependencies.serde_derive]
74version = "1.0.140"
75
76[dev-dependencies.serde_json]
77version = "1.0.82"
78
79[features]
80all_elements = [
81    "errorbar",
82    "candlestick",
83    "boxplot",
84    "histogram",
85]
86all_series = [
87    "area_series",
88    "line_series",
89    "point_series",
90    "surface_series",
91]
92area_series = []
93bitmap_backend = [
94    "plotters-bitmap",
95    "ttf",
96]
97bitmap_encoder = ["plotters-bitmap/image_encoder"]
98bitmap_gif = ["plotters-bitmap/gif_backend"]
99boxplot = []
100candlestick = []
101datetime = ["chrono"]
102default = [
103    "bitmap_backend",
104    "bitmap_encoder",
105    "bitmap_gif",
106    "svg_backend",
107    "chrono",
108    "ttf",
109    "image",
110    "deprecated_items",
111    "all_series",
112    "all_elements",
113    "full_palette",
114]
115deprecated_items = []
116errorbar = []
117evcxr = ["svg_backend"]
118evcxr_bitmap = [
119    "evcxr",
120    "bitmap_backend",
121    "plotters-svg/bitmap_encoder",
122]
123fontconfig-dlopen = ["font-kit/source-fontconfig-dlopen"]
124full_palette = []
125histogram = []
126line_series = []
127point_series = []
128surface_series = []
129svg_backend = ["plotters-svg"]
130ttf = [
131    "font-kit",
132    "ttf-parser",
133    "lazy_static",
134    "pathfinder_geometry",
135]
136
137[target."cfg(all(target_arch = \"wasm32\", not(target_os = \"wasi\")))".dependencies.wasm-bindgen]
138version = "0.2.62"
139
140[target."cfg(all(target_arch = \"wasm32\", not(target_os = \"wasi\")))".dependencies.web-sys]
141version = "0.3.51"
142features = [
143    "Document",
144    "DomRect",
145    "Element",
146    "HtmlElement",
147    "Node",
148    "Window",
149    "HtmlCanvasElement",
150    "CanvasRenderingContext2d",
151]
152
153[target."cfg(all(target_arch = \"wasm32\", not(target_os = \"wasi\")))".dev-dependencies.wasm-bindgen-test]
154version = "0.3.24"
155
156[target."cfg(not(all(target_arch = \"wasm32\", not(target_os = \"wasi\"))))".dependencies.font-kit]
157version = "0.11.0"
158optional = true
159
160[target."cfg(not(all(target_arch = \"wasm32\", not(target_os = \"wasi\"))))".dependencies.image]
161version = "0.24.3"
162features = [
163    "jpeg",
164    "png",
165    "bmp",
166]
167optional = true
168default-features = false
169
170[target."cfg(not(all(target_arch = \"wasm32\", not(target_os = \"wasi\"))))".dependencies.lazy_static]
171version = "1.4.0"
172optional = true
173
174[target."cfg(not(all(target_arch = \"wasm32\", not(target_os = \"wasi\"))))".dependencies.pathfinder_geometry]
175version = "0.5.1"
176optional = true
177
178[target."cfg(not(all(target_arch = \"wasm32\", not(target_os = \"wasi\"))))".dependencies.ttf-parser]
179version = "0.15.0"
180optional = true
181
182[target."cfg(not(target_arch = \"wasm32\"))".dev-dependencies.rand]
183version = "0.8.3"
184
185[target."cfg(not(target_arch = \"wasm32\"))".dev-dependencies.rand_distr]
186version = "0.4.0"
187
188[target."cfg(not(target_arch = \"wasm32\"))".dev-dependencies.rand_xorshift]
189version = "0.3.0"
190