8d9e13ed71
- Introduced a new `cleanup_deps` flag in the build command to remove dependencies that were automatically installed during the build process. - Implemented an `InterruptWatcher` to handle Ctrl-C interruptions gracefully during the build process. - Enhanced the `AutoInstalledDependencyTracker` to track and manage auto-installed dependencies, allowing for cleanup after the build. - Updated the CLI to parse the new `cleanup_deps` flag and integrated it into the build workflow. - Added tests to ensure the correct parsing of the `cleanup_deps` flag and the functionality of the dependency tracking and cleanup process. - Improved logging for package removal operations to include a verbose mode controlled by the `DEPOT_VERBOSE_REMOVE` environment variable.
52 lines
1.2 KiB
TOML
Executable File
52 lines
1.2 KiB
TOML
Executable File
[package]
|
|
name = "depot"
|
|
version = "0.20.1"
|
|
edition = "2024"
|
|
|
|
[lints.rust]
|
|
warnings = "deny"
|
|
|
|
[dependencies]
|
|
anyhow = "1.0.102"
|
|
ar = "0.9.0"
|
|
bzip2 = "0.6.1"
|
|
clap = { version = "4.5.60", features = ["derive"] }
|
|
flate2 = "1.1.9"
|
|
git2 = "0.20.4"
|
|
indicatif = "0.18.4"
|
|
nix = { version = "0.31.2", features = ["user"] }
|
|
rusqlite = "0.38.0"
|
|
semver = "1.0.27"
|
|
serde = { version = "1.0.228", features = ["derive"] }
|
|
yaml-rust2 = "0.11.0"
|
|
sha2 = "0.10.9"
|
|
tar = "0.4.44"
|
|
tempfile = "=3.27.0"
|
|
thiserror = "2.0.18"
|
|
toml = "1.0.6"
|
|
url = "2.5.8"
|
|
walkdir = "2.5.0"
|
|
xz2 = "0.1.7"
|
|
zip = "8.2.0"
|
|
zstd = { version = "0.13.3", features = ["zstdmt"] }
|
|
inquire = "0.9.4"
|
|
md5 = "0.8.0"
|
|
suppaftp = "8.0.2"
|
|
minisign = "0.9.1"
|
|
petgraph = "0.8.3"
|
|
fd-lock = "4.0.4"
|
|
reqwest = { version = "0.13.2", default-features = false, features = ["blocking", "native-tls"] }
|
|
filetime = "0.2.27"
|
|
clap_complete = "4.5.66"
|
|
clap_mangen = "0.2.31"
|
|
sys-mount = { version = "3.1.0", default-features = false }
|
|
time = { version = "0.3.47", features = ["formatting", "parsing"] }
|
|
b2sum-rust = "0.3.0"
|
|
serde_ignored = "0.1.14"
|
|
lz4_flex = "0.12.0"
|
|
lzma-rust2 = "0.16.2"
|
|
signal-hook = "0.4.3"
|
|
|
|
[dev-dependencies]
|
|
tempfile = "=3.27.0"
|