forked from lzanini/mdbook-katex
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
31 lines (27 loc) · 991 Bytes
/
Cargo.toml
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
[package]
name = "mdbook-katex"
version = "0.5.9"
authors = [
"Lucas Zanini <[email protected]>",
"Steven Hé (Sīchàng) <[email protected]>",
]
edition = "2021"
description = "mdBook preprocessor rendering LaTeX equations to HTML."
license = "MIT"
readme = "README.md"
repository = "https://github.com/lzanini/mdbook-katex"
[dependencies]
clap = { version = "4.4", features = ["cargo"] }
mdbook = { version = "0.4.36", default-features = false }
serde = "1.0"
serde_derive = "1.0"
serde_json = "1.0"
toml = "0.8"
rayon = "1.8"
# Remember to modify the tests accordingly if you modify this.
[target.'cfg(any(target_os = "macos", all(unix, target_arch = "x86_64"), all(windows, target_env = "gnu")))'.dependencies]
katex = "0.4.6"
[target.'cfg(not(any(target_os = "macos", all(unix, target_arch = "x86_64"), all(windows, target_env = "gnu"))))'.dependencies]
katex = { version = "0.4.6", default-features = false, features = ["duktape"] }
[profile.release]
lto = true