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