357bce56f5
Co-authored-by: Laurenz <laurmaedje@gmail.com>
63 lines
1.4 KiB
TOML
63 lines
1.4 KiB
TOML
[package]
|
|
name = "typst-cli"
|
|
description = "The command line interface for Typst."
|
|
categories = ["compilers", "command-line-utilities"]
|
|
keywords = ["typst", "cli"]
|
|
version.workspace = true
|
|
rust-version.workspace = true
|
|
authors.workspace = true
|
|
edition.workspace = true
|
|
homepage.workspace = true
|
|
repository.workspace = true
|
|
license.workspace = true
|
|
|
|
[[bin]]
|
|
name = "typst"
|
|
path = "src/main.rs"
|
|
test = false
|
|
doctest = false
|
|
bench = false
|
|
doc = false
|
|
|
|
[dependencies]
|
|
typst = { path = "../typst" }
|
|
typst-library = { path = "../typst-library" }
|
|
chrono = { version = "0.4.24", default-features = false, features = ["clock", "std"] }
|
|
clap = { version = "4.2.4", features = ["derive", "env"] }
|
|
codespan-reporting = "0.11"
|
|
comemo = "0.3"
|
|
dirs = "5"
|
|
flate2 = "1"
|
|
inferno = "0.11.15"
|
|
memmap2 = "0.5"
|
|
notify = "5"
|
|
once_cell = "1"
|
|
open = "4.0.2"
|
|
same-file = "1"
|
|
serde = "1"
|
|
serde_json = "1"
|
|
serde_yaml = "0.9"
|
|
siphasher = "0.3"
|
|
tar = "0.4"
|
|
tempfile = "3.5.0"
|
|
tracing = "0.1.37"
|
|
tracing-error = "0.2"
|
|
tracing-flame = "0.2.0"
|
|
tracing-subscriber = "0.3.17"
|
|
ureq = "2"
|
|
walkdir = "2"
|
|
|
|
[build-dependencies]
|
|
clap = { version = "4.2.4", features = ["derive", "string"] }
|
|
clap_complete = "4.2.1"
|
|
clap_mangen = "0.2.10"
|
|
|
|
[features]
|
|
default = ["embed-fonts"]
|
|
|
|
# Embeds some fonts into the binary:
|
|
# - For text: Linux Libertine, New Computer Modern
|
|
# - For math: New Computer Modern Math
|
|
# - For code: Deja Vu Sans Mono
|
|
embed-fonts = []
|