# 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 are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" name = "charming" version = "0.4.0" authors = ["Yuankun Zhang "] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "A visualization library for Rust" documentation = "https://github.com/yuankunzhang/charming" readme = "README.md" keywords = [ "echarts", "visualization", "chart", "plot", ] categories = [ "visualization", "graphics", ] license = "MIT/Apache-2.0" repository = "https://github.com/yuankunzhang/charming" [package.metadata.docs.rs] all-features = true rustdoc-args = [ "--cfg", "docsrs", ] [lib] name = "charming" path = "src/lib.rs" [dependencies.deno_core] version = "0.311" optional = true [dependencies.handlebars] version = "4.3" optional = true [dependencies.image] version = "0.24" optional = true [dependencies.resvg] version = "0.36" optional = true [dependencies.serde] version = "1.0" features = ["derive"] [dependencies.serde-wasm-bindgen] version = "0.6" optional = true [dependencies.serde_json] version = "1.0" [dependencies.serde_v8] version = "0.220" optional = true [dependencies.wasm-bindgen] version = "0.2" optional = true [dependencies.web-sys] version = "0.3.64" features = [ "Window", "Document", "Element", ] optional = true [features] default = ["html"] html = ["handlebars"] ssr = [ "html", "deno_core", "image", "resvg", "serde_v8", ] wasm = [ "serde-wasm-bindgen", "wasm-bindgen", "web-sys", ]