Files
disktree/crates/disktree-core/Cargo.toml
T
Tobi Lutke 60209e9cae disktree-core: scan, layout, free space and removal
- scan: dust's approach — one rayon scope, a +1 completion counter per
  directory, bottom-up aggregation — with live progress and cancellation.
  Disk usage by default, hardlinks counted once, symlinks not followed.
- tree: nodes with derived totals; aggregate() is the single source.
- treemap: squarified layout in viewport pixels, a name band per
  subdivided directory, and crumbs that always address the scanned tree.
- space: statvfs, and the projection after removing marked bytes.
- removal: guarded plans (root, home, scanned root, mount points and
  paths outside the root are refused), rm -rf semantics without a shell,
  and trash via trash-put, gio or a built-in XDG implementation.
2026-09-24 15:56:19 -05:00

20 lines
481 B
TOML

[package]
name = "disktree-core"
version.workspace = true
edition.workspace = true
rust-version.workspace = true
license.workspace = true
description = "Filesystem scanning and treemap layout for disktree"
[lints]
workspace = true
[dependencies]
chrono = { version = "0.4.45", default-features = false, features = ["clock", "std"] }
rayon = { workspace = true }
rustix = { version = "1.1", features = ["fs"] }
rustc-hash = { workspace = true }
[dev-dependencies]
tempfile = "3"