-
Notifications
You must be signed in to change notification settings - Fork 34
/
Cargo.toml
46 lines (41 loc) · 1.33 KB
/
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
[package]
name = "mdbook-katex"
version = "0.9.1"
authors = [
"Lucas Zanini <zanini.lcs@gmail.com>",
"Steven Hé (Sīchàng) <stevensichanghe@gmail.com>",
]
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.5", features = ["cargo"] }
mdbook = { package = "mdbook_fork4ls", version = "0.4.41", default-features = false }
serde = "1.0"
serde_derive = "1.0"
serde_json = "1.0"
toml = "0.8"
tracing = { version = "0.1", default-features = false, features = [
"attributes",
] }
tracing-subscriber = { version = "0.3", default-features = false, features = [
"ansi",
"env-filter",
"fmt",
] }
rayon = "1.10"
# 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 = { 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", default-features = false, features = [
"duktape",
], optional = true }
[features]
default = ["pre-render"]
pre-render = ["katex"]
[profile.release]
opt-level = "z"
lto = true