| 1 | [package] |
| 2 | name = "plotters-bitmap" |
| 3 | version = "0.3.7" |
| 4 | authors = ["Hao Hou <haohou302@gmail.com>" ] |
| 5 | edition = "2018" |
| 6 | license = "MIT" |
| 7 | description = "Plotters Bitmap Backend" |
| 8 | homepage = "https://plotters-rs.github.io" |
| 9 | repository = "https://github.com/plotters-rs/plotters" |
| 10 | readme = "README.md" |
| 11 | |
| 12 | # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html |
| 13 | |
| 14 | [dependencies] |
| 15 | gif = { version = "0.12.0" , optional = true } |
| 16 | |
| 17 | [dependencies.plotters-backend] |
| 18 | version = "0.3.6" |
| 19 | path = "../plotters-backend" |
| 20 | |
| 21 | [target.'cfg(not(target_arch = "wasm32"))'.dependencies.image] |
| 22 | version = "0.24.3" |
| 23 | optional = true |
| 24 | default-features = false |
| 25 | features = ["jpeg" , "png" , "bmp" ] |
| 26 | |
| 27 | [features] |
| 28 | default = ["image_encoder" , "gif_backend" ] |
| 29 | image_encoder = ["image" ] |
| 30 | gif_backend = ["gif" , "image_encoder" ] |
| 31 | |
| 32 | [dev-dependencies.plotters] |
| 33 | default-features = false |
| 34 | features = ["ttf" , "line_series" , "bitmap_backend" ] |
| 35 | path = "../plotters" |
| 36 | |
| 37 | [dev-dependencies] |
| 38 | criterion = "0.5.1" |
| 39 | rayon = "1.5.1" |
| 40 | |
| 41 | [[bench]] |
| 42 | name = "benchmark" |
| 43 | harness = false |
| 44 | path = "benches/main.rs" |
| 45 | |