[package]
edition = "2024"
rust-version = "1.92"
name = "typstyle"
version = "0.15.0"
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "The CLI for Typstyle."
homepage = "https://typstyle-rs.github.io/typstyle/"
readme = "README.md"
license = "Apache-2.0"
repository = "https://github.com/typstyle-rs/typstyle"
resolver = "2"
[features]
completion = ["clap_complete"]
default = [
"git-info",
"completion",
]
git-info = ["vergen-gitcl"]
[[bin]]
name = "typstyle"
path = "src/main.rs"
test = false
doctest = false
bench = false
doc = false
[[test]]
name = "common"
path = "tests/common.rs"
[[test]]
name = "test_format"
path = "tests/test_format.rs"
[[test]]
name = "test_format_all"
path = "tests/test_format_all.rs"
[[test]]
name = "test_format_stdin"
path = "tests/test_format_stdin.rs"
[[test]]
name = "test_style_args"
path = "tests/test_style_args.rs"
[dependencies.anstream]
version = "1.0"
[dependencies.anyhow]
version = "1"
[dependencies.clap]
version = "4.5"
features = [
"derive",
"env",
]
[dependencies.clap_complete]
version = "4.5"
optional = true
[dependencies.colored]
version = "3.0"
[dependencies.itertools]
version = "0.15"
[dependencies.log]
version = "0.4"
[dependencies.path-absolutize]
version = "3"
[dependencies.similar]
version = "3.1"
[dependencies.typst-syntax]
version = "0.15.0"
[dependencies.typstyle-core]
version = "=0.15.0"
[dependencies.walkdir]
version = "2"
[dev-dependencies.insta]
version = "1.48"
features = ["filters"]
[dev-dependencies.insta-cmd]
version = "0.7"
[dev-dependencies.tempfile]
version = "3"
[build-dependencies.anyhow]
version = "1"
[build-dependencies.vergen]
version = "9.1"
features = [
"build",
"cargo",
"rustc",
]
[build-dependencies.vergen-gitcl]
version = "9.1"
optional = true