aboutsummaryrefslogtreecommitdiff
path: root/Cargo.toml
blob: 68fedf53972a60cf471b5a5ce54482239533169a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies
#
# If you believe there's an error in this file please file an
# issue against the rust-lang/cargo repository. If you're
# editing this file be aware that the upstream Cargo.toml
# will likely look very different (and much more reasonable)

[package]
edition = "2018"
name = "plotters"
version = "0.2.15"
authors = ["Hao Hou <haohou302@gmail.com>"]
exclude = ["doc-template/*"]
description = "A Rust drawing library focus on data plotting for both WASM and native applications"
readme = "README.md"
keywords = ["WebAssembly", "Visualization", "Plotting", "Drawing"]
categories = ["visualization", "wasm"]
license = "MIT"
repository = "https://github.com/38/plotters"
[profile.bench]
debug = true

[[bench]]
name = "benchmark"
path = "benches/main.rs"
harness = false
[dependencies.chrono]
version = "0.4.11"
optional = true

[dependencies.gif]
version = "0.10.3"
optional = true

[dependencies.num-traits]
version = "0.2.11"

[dependencies.palette]
version = "0.5.0"
features = ["std"]
optional = true
default-features = false
[dev-dependencies.criterion]
version = "0.3.2"

[dev-dependencies.itertools]
version = "0.9.0"

[dev-dependencies.rand]
version = "0.7.3"

[dev-dependencies.rand_distr]
version = "0.2.2"

[dev-dependencies.rand_xorshift]
version = "0.2.0"

[dev-dependencies.rayon]
version = "1.3.0"

[features]
area_series = []
bitmap = ["ttf"]
boxplot = []
cairo = ["cairo-rs", "ttf"]
candlestick = []
datetime = ["chrono"]
debug = []
default = ["image_encoder", "svg", "chrono", "palette_ext", "gif_backend", "deprecated_items", "bitmap", "ttf", "errorbar", "candlestick", "boxplot", "histogram", "area_series", "line_series", "point_series"]
deprecated_items = []
errorbar = []
evcxr = ["svg"]
gif_backend = ["gif", "bitmap"]
histogram = []
image_encoder = ["image", "bitmap"]
line_series = []
palette_ext = ["palette"]
piston = ["piston_window", "ttf"]
point_series = []
svg = []
ttf = ["font-kit", "rusttype", "lazy_static"]
[target."cfg(not(target_arch = \"wasm32\"))".dependencies.cairo-rs]
version = "0.8.1"
features = ["ps"]
optional = true

[target."cfg(not(target_arch = \"wasm32\"))".dependencies.font-kit]
version = "0.7.0"
optional = true

[target."cfg(not(target_arch = \"wasm32\"))".dependencies.image]
version = "0.23.4"
features = ["jpeg", "png", "bmp"]
optional = true
default-features = false

[target."cfg(not(target_arch = \"wasm32\"))".dependencies.lazy_static]
version = "1.4.0"
optional = true

[target."cfg(not(target_arch = \"wasm32\"))".dependencies.piston_window]
version = "0.108.0"
optional = true

[target."cfg(not(target_arch = \"wasm32\"))".dependencies.rusttype]
version = "0.8.2"
optional = true
[target."cfg(target_arch = \"wasm32\")".dependencies.js-sys]
version = "0.3.39"

[target."cfg(target_arch = \"wasm32\")".dependencies.wasm-bindgen]
version = "0.2.62"

[target."cfg(target_arch = \"wasm32\")".dependencies.web-sys]
version = "0.3.39"
features = ["Document", "DomRect", "Element", "HtmlElement", "Node", "Window", "HtmlCanvasElement", "CanvasRenderingContext2d"]
[target."cfg(target_arch = \"wasm32\")".dev-dependencies.wasm-bindgen-test]
version = "0.3.12"