typst/docs/Cargo.toml

42 lines
1.0 KiB
TOML

[package]
name = "typst-docs"
version = { workspace = true }
rust-version = { workspace = true }
authors = { workspace = true }
edition = { workspace = true }
publish = false
[lib]
doctest = false
bench = false
[[bin]]
name = "typst-docs"
required-features = ["cli"]
[features]
default = ["cli"]
cli = ["clap", "typst-render", "serde_json"]
[dependencies]
typst = { workspace = true }
typst-assets = { workspace = true, features = ["fonts"] }
typst-dev-assets = { workspace = true }
comemo = { workspace = true }
ecow = { workspace = true }
heck = { workspace = true }
once_cell = { workspace = true }
pulldown-cmark = { workspace = true }
serde = { workspace = true }
serde_yaml = { workspace = true }
syntect = { workspace = true, features = ["html"] }
typed-arena = { workspace = true }
unscanny = { workspace = true }
yaml-front-matter = { workspace = true }
clap = { workspace = true, optional = true }
typst-render = { workspace = true, optional = true }
serde_json = { workspace = true, optional = true }
[lints]
workspace = true