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.5" 16authors = ["Hao Hou <[email protected]>"] 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.5" 51 52[dependencies.plotters-bitmap] 53version = "0.3.3" 54optional = true 55default_features = false 56 57[dependencies.plotters-svg] 58version = "0.3.5" 59optional = true 60 61[dev-dependencies.criterion] 62version = "0.4.0" 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] 80ab_glyph = [ 81 "dep:ab_glyph", 82 "once_cell", 83] 84all_elements = [ 85 "errorbar", 86 "candlestick", 87 "boxplot", 88 "histogram", 89] 90all_series = [ 91 "area_series", 92 "line_series", 93 "point_series", 94 "surface_series", 95] 96area_series = [] 97bitmap_backend = ["plotters-bitmap"] 98bitmap_encoder = ["plotters-bitmap/image_encoder"] 99bitmap_gif = ["plotters-bitmap/gif_backend"] 100boxplot = [] 101candlestick = [] 102colormaps = [] 103datetime = ["chrono"] 104default = [ 105 "bitmap_backend", 106 "bitmap_encoder", 107 "bitmap_gif", 108 "svg_backend", 109 "chrono", 110 "ttf", 111 "image", 112 "deprecated_items", 113 "all_series", 114 "all_elements", 115 "full_palette", 116 "colormaps", 117] 118deprecated_items = [] 119errorbar = [] 120evcxr = ["svg_backend"] 121evcxr_bitmap = [ 122 "evcxr", 123 "bitmap_backend", 124 "plotters-svg/bitmap_encoder", 125] 126fontconfig-dlopen = ["font-kit/source-fontconfig-dlopen"] 127full_palette = [] 128histogram = [] 129line_series = [] 130point_series = [] 131surface_series = [] 132svg_backend = ["plotters-svg"] 133ttf = [ 134 "font-kit", 135 "ttf-parser", 136 "lazy_static", 137 "pathfinder_geometry", 138] 139 140[target."cfg(all(target_arch = \"wasm32\", not(target_os = \"wasi\")))".dependencies.wasm-bindgen] 141version = "0.2.62" 142 143[target."cfg(all(target_arch = \"wasm32\", not(target_os = \"wasi\")))".dependencies.web-sys] 144version = "0.3.51" 145features = [ 146 "Document", 147 "DomRect", 148 "Element", 149 "HtmlElement", 150 "Node", 151 "Window", 152 "HtmlCanvasElement", 153 "CanvasRenderingContext2d", 154] 155 156[target."cfg(all(target_arch = \"wasm32\", not(target_os = \"wasi\")))".dev-dependencies.wasm-bindgen-test] 157version = "0.3.24" 158 159[target."cfg(not(all(target_arch = \"wasm32\", not(target_os = \"wasi\"))))".dependencies.ab_glyph] 160version = "0.2.12" 161optional = true 162 163[target."cfg(not(all(target_arch = \"wasm32\", not(target_os = \"wasi\"))))".dependencies.font-kit] 164version = "0.11.0" 165optional = true 166 167[target."cfg(not(all(target_arch = \"wasm32\", not(target_os = \"wasi\"))))".dependencies.image] 168version = "0.24.3" 169features = [ 170 "jpeg", 171 "png", 172 "bmp", 173] 174optional = true 175default-features = false 176 177[target."cfg(not(all(target_arch = \"wasm32\", not(target_os = \"wasi\"))))".dependencies.lazy_static] 178version = "1.4.0" 179optional = true 180 181[target."cfg(not(all(target_arch = \"wasm32\", not(target_os = \"wasi\"))))".dependencies.once_cell] 182version = "1.8.0" 183optional = true 184 185[target."cfg(not(all(target_arch = \"wasm32\", not(target_os = \"wasi\"))))".dependencies.pathfinder_geometry] 186version = "0.5.1" 187optional = true 188 189[target."cfg(not(all(target_arch = \"wasm32\", not(target_os = \"wasi\"))))".dependencies.ttf-parser] 190version = "0.17.0" 191optional = true 192 193[target."cfg(not(target_arch = \"wasm32\"))".dev-dependencies.rand] 194version = "0.8.3" 195 196[target."cfg(not(target_arch = \"wasm32\"))".dev-dependencies.rand_distr] 197version = "0.4.0" 198 199[target."cfg(not(target_arch = \"wasm32\"))".dev-dependencies.rand_xorshift] 200version = "0.3.0" 201