treefmt/Cargo.toml
zimbatm c9bc5c63c9
only run formatters if there are files to format
Add more debugging. Take the baseline from ~500millis to ~60millis.
2021-02-25 19:21:33 +01:00

37 lines
669 B
TOML

[package]
name = "treefmt"
version = "0.1.0"
authors = ["Andika Demas Riyandi <andika.riyan@gmail.com>"]
edition = "2018"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[profile.release]
lto = true
codegen-units = 1
panic = "abort"
[dependencies]
anyhow = "1.0"
console = "0.13"
directories = "3.0.1"
filetime = "0.2"
globset = "0.4.6"
ignore = "0.4.17"
log = "0.4"
path-clean = "0.1.0"
rayon = "1.5.0"
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
sha-1 = "0.9.2"
structopt = "0.3"
toml = "0.5"
which = "4.0.2"
[dev-dependencies]
criterion = "0.3"
[[bench]]
name = "bench"
harness = false