# 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 = "mathjax" version = "0.1.1" description = "A rust interface to MathJax" homepage = "https://docs.rs/mathjax" documentation = "https://docs.rs/mathjax" readme = "README.md" keywords = ["mathjax"] license = "Apache-2.0" repository = "https://github.com/Nigecat/mathjax-rs" [package.metadata.docs.rs] all-features = true rustdoc-args = [ "--cfg", "docs", ] [[example]] name = "svg" required-features = ["auto"] [[example]] name = "image" required-features = [ "auto", "image", ] [dependencies.anyhow] version = "1.0" optional = true [dependencies.headless_chrome] version = "1.0.5" features = ["fetch"] optional = true [dependencies.image] version = "0.24.6" optional = true [dependencies.node-semver] version = "2.1.0" [dependencies.resvg] version = "0.33.0" optional = true [dependencies.tempfile] version = "3.5.0" optional = true [dependencies.thiserror] version = "1.0" [dependencies.zip-extract] version = "0.1.2" optional = true [features] auto = [ "node", "browser", ] browser = [ "dep:headless_chrome", "dep:anyhow", ] default = [ "auto", "image", ] image = [ "dep:resvg", "dep:image", ] node = [ "dep:tempfile", "dep:zip-extract", ]