# 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 = "mdbook-katex" version = "0.9.1" authors = [ "Lucas Zanini ", "Steven Hé (Sīchàng) ", ] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "mdBook preprocessor rendering LaTeX equations to HTML." readme = "README.md" license = "MIT" repository = "https://github.com/lzanini/mdbook-katex" [profile.release] opt-level = "z" lto = true [lib] name = "mdbook_katex" path = "src/lib.rs" [[bin]] name = "mdbook-katex" path = "src/main.rs" [dependencies.clap] version = "4.5" features = ["cargo"] [dependencies.mdbook] version = "0.4.41" default-features = false package = "mdbook_fork4ls" [dependencies.rayon] version = "1.10" [dependencies.serde] version = "1.0" [dependencies.serde_derive] version = "1.0" [dependencies.serde_json] version = "1.0" [dependencies.toml] version = "0.8" [dependencies.tracing] version = "0.1" features = ["attributes"] default-features = false [dependencies.tracing-subscriber] version = "0.3" features = [ "ansi", "env-filter", "fmt", ] default-features = false [features] default = ["pre-render"] pre-render = ["katex"] [target.'cfg(any(target_os = "macos", all(unix, target_arch = "x86_64"), all(windows, target_env = "gnu")))'.dependencies.katex] version = "0.4.6" optional = true [target.'cfg(not(any(target_os = "macos", all(unix, target_arch = "x86_64"), all(windows, target_env = "gnu"))))'.dependencies.katex] version = "0.4.6" features = ["duktape"] optional = true default-features = false