treefmt/Cargo.toml
zimbatm 732439aff6
re-implement the core logic
I had to remove the evaluation cache and parallel formatting for now in
order to make this manageable.

* Load the config
* Prepare for filesystem traversal
* Match each path against the formatters and collect the ones that
  match. Get the mtime from the traversal entry to avoid additional
  syscalls.
* Now that we have a map from formatter to paths, run each formatter
  against its list. Collect a list of new mtimes.
* Finally display the list of files that have changed.
2021-02-25 14:48:13 +01:00

31 lines
583 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
[dependencies]
anyhow = "1.0"
console = "0.13"
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