forked from xu-cheng/katex-rs
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
39 lines (33 loc) · 1.03 KB
/
Cargo.toml
File metadata and controls
39 lines (33 loc) · 1.03 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
[package]
name = "katex"
version = "0.4.5"
authors = ["Cheng XU <rust@xuc.me>"]
edition = "2021"
license = "MIT OR Apache-2.0"
description = "Rust bindings to KaTeX"
repository = "https://github.com/xu-cheng/katex-rs"
documentation = "https://docs.rs/katex"
readme = "README.md"
keywords = ["LaTeX", "KaTeX", "Math"]
categories = ["api-bindings"]
build = "build.rs"
[dependencies]
cfg-if = "1.0"
derive_builder = "0.11"
itertools = "0.10"
thiserror = "1.0"
# quick-js is available in unix and x86_64-pc-windows-gnu
quick-js = { version = "0.4", features = ["patched"], optional = true }
# duktape is available in unix and windows
ducc = { version = "0.1", optional = true }
# wasm-js is available in wasm32-unknown-unknown
wasm-bindgen = { version = "0.2", default-features = false, optional = true }
js-sys = { version = "0.3", optional = true }
[dev-dependencies]
wasm-bindgen-test = "0.3"
[features]
default = ["quick-js"]
quick-js = ["dep:quick-js"]
duktape = ["dep:ducc"]
wasm-js = ["dep:wasm-bindgen", "dep:js-sys"]
wasm-js-test-in-browser = []