# 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 = "katex" version = "0.4.6" authors = ["Cheng XU "] build = "build.rs" description = "Rust bindings to KaTeX" documentation = "https://docs.rs/katex" readme = "README.md" keywords = [ "LaTeX", "KaTeX", "Math", ] categories = ["api-bindings"] license = "MIT OR Apache-2.0" repository = "https://github.com/xu-cheng/katex-rs" [dependencies.cfg-if] version = "1.0" [dependencies.derive_builder] version = "0.12" [dependencies.itertools] version = "0.10" [dependencies.thiserror] version = "1.0" [features] default = ["quick-js"] duktape = ["dep:ducc"] quick-js = ["dep:quick-js"] wasm-js = [ "dep:wasm-bindgen", "dep:js-sys", ] wasm-js-test-in-browser = [] [target."cfg(all(target_arch = \"wasm32\", target_os = \"unknown\"))".dependencies.js-sys] version = "0.3" optional = true [target."cfg(all(target_arch = \"wasm32\", target_os = \"unknown\"))".dependencies.wasm-bindgen] version = "0.2" optional = true default-features = false [target."cfg(all(target_arch = \"wasm32\", target_os = \"unknown\"))".dev-dependencies.wasm-bindgen-test] version = "0.3" [target."cfg(any(unix, all(windows, target_env = \"gnu\")))".dependencies.quick-js] version = "0.4" features = ["patched"] optional = true [target."cfg(any(unix, windows))".dependencies.ducc] version = "0.1" optional = true