• 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.7"
16authors = ["Hao Hou <haohou302@gmail.com>"]
17build = false
18exclude = [
19    "doc-template",
20    "plotters-doc-data",
21]
22autobins = false
23autoexamples = false
24autotests = false
25autobenches = false
26description = "A Rust drawing library focus on data plotting for both WASM and native applications"
27homepage = "https://plotters-rs.github.io/"
28readme = "README.md"
29keywords = [
30    "WebAssembly",
31    "Visualization",
32    "Plotting",
33    "Drawing",
34]
35categories = [
36    "visualization",
37    "wasm",
38]
39license = "MIT"
40repository = "https://github.com/plotters-rs/plotters"
41
42[package.metadata.docs.rs]
43all-features = true
44rustdoc-args = [
45    "--cfg",
46    "doc_cfg",
47]
48
49[lib]
50name = "plotters"
51path = "src/lib.rs"
52
53[[example]]
54name = "3d-plot"
55path = "examples/3d-plot.rs"
56
57[[example]]
58name = "3d-plot2"
59path = "examples/3d-plot2.rs"
60
61[[example]]
62name = "animation"
63path = "examples/animation.rs"
64
65[[example]]
66name = "area-chart"
67path = "examples/area-chart.rs"
68
69[[example]]
70name = "blit-bitmap"
71path = "examples/blit-bitmap.rs"
72
73[[example]]
74name = "boxplot"
75path = "examples/boxplot.rs"
76
77[[example]]
78name = "chart"
79path = "examples/chart.rs"
80
81[[example]]
82name = "colormaps"
83path = "examples/colormaps.rs"
84
85[[example]]
86name = "console"
87path = "examples/console.rs"
88
89[[example]]
90name = "customized_coord"
91path = "examples/customized_coord.rs"
92
93[[example]]
94name = "errorbar"
95path = "examples/errorbar.rs"
96
97[[example]]
98name = "full_palette"
99path = "examples/full_palette.rs"
100
101[[example]]
102name = "histogram"
103path = "examples/histogram.rs"
104
105[[example]]
106name = "mandelbrot"
107path = "examples/mandelbrot.rs"
108
109[[example]]
110name = "matshow"
111path = "examples/matshow.rs"
112
113[[example]]
114name = "nested_coord"
115path = "examples/nested_coord.rs"
116
117[[example]]
118name = "normal-dist"
119path = "examples/normal-dist.rs"
120
121[[example]]
122name = "normal-dist2"
123path = "examples/normal-dist2.rs"
124
125[[example]]
126name = "pie"
127path = "examples/pie.rs"
128
129[[example]]
130name = "relative_size"
131path = "examples/relative_size.rs"
132
133[[example]]
134name = "sierpinski"
135path = "examples/sierpinski.rs"
136
137[[example]]
138name = "slc-temp"
139path = "examples/slc-temp.rs"
140
141[[example]]
142name = "snowflake"
143path = "examples/snowflake.rs"
144
145[[example]]
146name = "stock"
147path = "examples/stock.rs"
148
149[[example]]
150name = "tick_control"
151path = "examples/tick_control.rs"
152
153[[example]]
154name = "two-scales"
155path = "examples/two-scales.rs"
156
157[[bench]]
158name = "benchmark"
159path = "benches/main.rs"
160harness = false
161
162[dependencies.chrono]
163version = "0.4.32"
164optional = true
165
166[dependencies.num-traits]
167version = "0.2.14"
168
169[dependencies.plotters-backend]
170version = "0.3.6"
171
172[dependencies.plotters-bitmap]
173version = "0.3.6"
174optional = true
175default-features = false
176
177[dependencies.plotters-svg]
178version = "0.3.6"
179optional = true
180
181[dev-dependencies.criterion]
182version = "0.5.1"
183
184[dev-dependencies.itertools]
185version = "0.10.0"
186
187[dev-dependencies.rayon]
188version = "1.5.1"
189
190[dev-dependencies.serde]
191version = "1.0.139"
192
193[dev-dependencies.serde_derive]
194version = "1.0.140"
195
196[dev-dependencies.serde_json]
197version = "1.0.82"
198
199[features]
200ab_glyph = [
201    "dep:ab_glyph",
202    "once_cell",
203]
204all_elements = [
205    "errorbar",
206    "candlestick",
207    "boxplot",
208    "histogram",
209]
210all_series = [
211    "area_series",
212    "line_series",
213    "point_series",
214    "surface_series",
215]
216area_series = []
217bitmap_backend = ["plotters-bitmap"]
218bitmap_encoder = ["plotters-bitmap/image_encoder"]
219bitmap_gif = ["plotters-bitmap/gif_backend"]
220boxplot = []
221candlestick = []
222colormaps = []
223datetime = ["chrono"]
224default = [
225    "bitmap_backend",
226    "bitmap_encoder",
227    "bitmap_gif",
228    "svg_backend",
229    "chrono",
230    "ttf",
231    "image",
232    "deprecated_items",
233    "all_series",
234    "all_elements",
235    "full_palette",
236    "colormaps",
237]
238deprecated_items = []
239errorbar = []
240evcxr = ["svg_backend"]
241evcxr_bitmap = [
242    "evcxr",
243    "bitmap_backend",
244    "plotters-svg/bitmap_encoder",
245]
246fontconfig-dlopen = ["font-kit/source-fontconfig-dlopen"]
247full_palette = []
248histogram = []
249line_series = []
250point_series = []
251surface_series = []
252svg_backend = ["plotters-svg"]
253ttf = [
254    "font-kit",
255    "ttf-parser",
256    "lazy_static",
257    "pathfinder_geometry",
258]
259
260[target.'cfg(all(target_arch = "wasm32", not(target_os = "wasi")))'.dependencies.wasm-bindgen]
261version = "0.2.89"
262
263[target.'cfg(all(target_arch = "wasm32", not(target_os = "wasi")))'.dependencies.web-sys]
264version = "0.3.66"
265features = [
266    "Document",
267    "DomRect",
268    "Element",
269    "HtmlElement",
270    "Node",
271    "Window",
272    "HtmlCanvasElement",
273    "CanvasRenderingContext2d",
274]
275
276[target.'cfg(all(target_arch = "wasm32", not(target_os = "wasi")))'.dev-dependencies.wasm-bindgen-test]
277version = "0.3.39"
278
279[target.'cfg(not(all(target_arch = "wasm32", not(target_os = "wasi"))))'.dependencies.ab_glyph]
280version = "0.2.12"
281optional = true
282
283[target.'cfg(not(all(target_arch = "wasm32", not(target_os = "wasi"))))'.dependencies.font-kit]
284version = "0.14.2"
285optional = true
286
287[target.'cfg(not(all(target_arch = "wasm32", not(target_os = "wasi"))))'.dependencies.image]
288version = "0.24.3"
289features = [
290    "jpeg",
291    "png",
292    "bmp",
293]
294optional = true
295default-features = false
296
297[target.'cfg(not(all(target_arch = "wasm32", not(target_os = "wasi"))))'.dependencies.lazy_static]
298version = "1.4.0"
299optional = true
300
301[target.'cfg(not(all(target_arch = "wasm32", not(target_os = "wasi"))))'.dependencies.once_cell]
302version = "1.8.0"
303optional = true
304
305[target.'cfg(not(all(target_arch = "wasm32", not(target_os = "wasi"))))'.dependencies.pathfinder_geometry]
306version = "0.5.1"
307optional = true
308
309[target.'cfg(not(all(target_arch = "wasm32", not(target_os = "wasi"))))'.dependencies.ttf-parser]
310version = "0.20.0"
311optional = true
312
313[target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies.rand]
314version = "0.8.3"
315
316[target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies.rand_distr]
317version = "0.4.0"
318
319[target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies.rand_xorshift]
320version = "0.3.0"
321
322[lints.rust.deprecated]
323level = "allow"
324priority = 0
325
326[lints.rust.unexpected_cfgs]
327level = "warn"
328priority = 0
329check-cfg = ["cfg(doc_cfg)"]
330