Jakub Kotur | 00e4d27 | 2020-12-21 17:28:15 +0100 | [diff] [blame] | 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 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] |
| 14 | edition = "2018" |
| 15 | name = "plotters" |
Joel Galenson | e2d8e8d | 2021-04-05 10:43:32 -0700 | [diff] [blame] | 16 | version = "0.3.0" |
Jakub Kotur | 00e4d27 | 2020-12-21 17:28:15 +0100 | [diff] [blame] | 17 | authors = ["Hao Hou <haohou302@gmail.com>"] |
| 18 | exclude = ["doc-template/*"] |
| 19 | description = "A Rust drawing library focus on data plotting for both WASM and native applications" |
Joel Galenson | e2d8e8d | 2021-04-05 10:43:32 -0700 | [diff] [blame] | 20 | homepage = "https://plotters-rs.github.io/" |
Jakub Kotur | 00e4d27 | 2020-12-21 17:28:15 +0100 | [diff] [blame] | 21 | readme = "README.md" |
| 22 | keywords = ["WebAssembly", "Visualization", "Plotting", "Drawing"] |
| 23 | categories = ["visualization", "wasm"] |
| 24 | license = "MIT" |
| 25 | repository = "https://github.com/38/plotters" |
Jakub Kotur | 00e4d27 | 2020-12-21 17:28:15 +0100 | [diff] [blame] | 26 | |
| 27 | [[bench]] |
| 28 | name = "benchmark" |
| 29 | path = "benches/main.rs" |
| 30 | harness = false |
| 31 | [dependencies.chrono] |
| 32 | version = "0.4.11" |
| 33 | optional = true |
| 34 | |
Jakub Kotur | 00e4d27 | 2020-12-21 17:28:15 +0100 | [diff] [blame] | 35 | [dependencies.num-traits] |
| 36 | version = "0.2.11" |
| 37 | |
Joel Galenson | e2d8e8d | 2021-04-05 10:43:32 -0700 | [diff] [blame] | 38 | [dependencies.plotters-backend] |
| 39 | version = "^0.3.*" |
| 40 | |
| 41 | [dependencies.plotters-bitmap] |
| 42 | version = "^0.3.*" |
Jakub Kotur | 00e4d27 | 2020-12-21 17:28:15 +0100 | [diff] [blame] | 43 | optional = true |
Joel Galenson | e2d8e8d | 2021-04-05 10:43:32 -0700 | [diff] [blame] | 44 | default_features = false |
| 45 | |
| 46 | [dependencies.plotters-svg] |
| 47 | version = "^0.3.*" |
| 48 | optional = true |
Jakub Kotur | 00e4d27 | 2020-12-21 17:28:15 +0100 | [diff] [blame] | 49 | [dev-dependencies.criterion] |
| 50 | version = "0.3.2" |
| 51 | |
| 52 | [dev-dependencies.itertools] |
| 53 | version = "0.9.0" |
| 54 | |
Joel Galenson | e2d8e8d | 2021-04-05 10:43:32 -0700 | [diff] [blame] | 55 | [dev-dependencies.plotters-bitmap] |
| 56 | version = "^0.3.*" |
| 57 | |
Jakub Kotur | 00e4d27 | 2020-12-21 17:28:15 +0100 | [diff] [blame] | 58 | [dev-dependencies.rand] |
| 59 | version = "0.7.3" |
| 60 | |
| 61 | [dev-dependencies.rand_distr] |
| 62 | version = "0.2.2" |
| 63 | |
| 64 | [dev-dependencies.rand_xorshift] |
| 65 | version = "0.2.0" |
| 66 | |
| 67 | [dev-dependencies.rayon] |
| 68 | version = "1.3.0" |
| 69 | |
| 70 | [features] |
Joel Galenson | e2d8e8d | 2021-04-05 10:43:32 -0700 | [diff] [blame] | 71 | all_elements = ["errorbar", "candlestick", "boxplot", "histogram"] |
| 72 | all_series = ["area_series", "line_series", "point_series", "surface_series"] |
Jakub Kotur | 00e4d27 | 2020-12-21 17:28:15 +0100 | [diff] [blame] | 73 | area_series = [] |
Joel Galenson | e2d8e8d | 2021-04-05 10:43:32 -0700 | [diff] [blame] | 74 | bitmap_backend = ["plotters-bitmap", "ttf"] |
| 75 | bitmap_encoder = ["plotters-bitmap/image_encoder"] |
| 76 | bitmap_gif = ["plotters-bitmap/gif_backend"] |
Jakub Kotur | 00e4d27 | 2020-12-21 17:28:15 +0100 | [diff] [blame] | 77 | boxplot = [] |
Jakub Kotur | 00e4d27 | 2020-12-21 17:28:15 +0100 | [diff] [blame] | 78 | candlestick = [] |
| 79 | datetime = ["chrono"] |
Joel Galenson | e2d8e8d | 2021-04-05 10:43:32 -0700 | [diff] [blame] | 80 | default = ["bitmap_backend", "bitmap_encoder", "bitmap_gif", "svg_backend", "chrono", "ttf", "image", "deprecated_items", "all_series", "all_elements"] |
Jakub Kotur | 00e4d27 | 2020-12-21 17:28:15 +0100 | [diff] [blame] | 81 | deprecated_items = [] |
| 82 | errorbar = [] |
Joel Galenson | e2d8e8d | 2021-04-05 10:43:32 -0700 | [diff] [blame] | 83 | evcxr = ["svg_backend"] |
Jakub Kotur | 00e4d27 | 2020-12-21 17:28:15 +0100 | [diff] [blame] | 84 | histogram = [] |
Jakub Kotur | 00e4d27 | 2020-12-21 17:28:15 +0100 | [diff] [blame] | 85 | line_series = [] |
Jakub Kotur | 00e4d27 | 2020-12-21 17:28:15 +0100 | [diff] [blame] | 86 | point_series = [] |
Joel Galenson | e2d8e8d | 2021-04-05 10:43:32 -0700 | [diff] [blame] | 87 | surface_series = [] |
| 88 | svg_backend = ["plotters-svg"] |
Jakub Kotur | 00e4d27 | 2020-12-21 17:28:15 +0100 | [diff] [blame] | 89 | ttf = ["font-kit", "rusttype", "lazy_static"] |
Jakub Kotur | 00e4d27 | 2020-12-21 17:28:15 +0100 | [diff] [blame] | 90 | [target."cfg(not(target_arch = \"wasm32\"))".dependencies.font-kit] |
| 91 | version = "0.7.0" |
| 92 | optional = true |
| 93 | |
| 94 | [target."cfg(not(target_arch = \"wasm32\"))".dependencies.image] |
| 95 | version = "0.23.4" |
| 96 | features = ["jpeg", "png", "bmp"] |
| 97 | optional = true |
| 98 | default-features = false |
| 99 | |
| 100 | [target."cfg(not(target_arch = \"wasm32\"))".dependencies.lazy_static] |
| 101 | version = "1.4.0" |
| 102 | optional = true |
| 103 | |
Jakub Kotur | 00e4d27 | 2020-12-21 17:28:15 +0100 | [diff] [blame] | 104 | [target."cfg(not(target_arch = \"wasm32\"))".dependencies.rusttype] |
| 105 | version = "0.8.2" |
| 106 | optional = true |
Jakub Kotur | 00e4d27 | 2020-12-21 17:28:15 +0100 | [diff] [blame] | 107 | [target."cfg(target_arch = \"wasm32\")".dependencies.wasm-bindgen] |
| 108 | version = "0.2.62" |
| 109 | |
| 110 | [target."cfg(target_arch = \"wasm32\")".dependencies.web-sys] |
| 111 | version = "0.3.39" |
| 112 | features = ["Document", "DomRect", "Element", "HtmlElement", "Node", "Window", "HtmlCanvasElement", "CanvasRenderingContext2d"] |
| 113 | [target."cfg(target_arch = \"wasm32\")".dev-dependencies.wasm-bindgen-test] |
| 114 | version = "0.3.12" |