c9bed308e2
- Improved error handling and context messages in `checkout` function in `git.rs`. - Updated license field in package specification to use a vector in `hooks.rs`. - Enhanced `copy_manual_sources` function in `mod.rs` to support both local file and remote URL sources, including checksum verification. - Added new utility functions for path normalization and skipping installation of specific files in `staging/mod.rs`. - Implemented logic to handle existing files during installation, allowing for `.depotnew` suffix for kept files. - Added tests for manual source copying, installation behavior, and path validation. - Introduced a new LICENSE file with MIT License terms.
49 lines
1.3 KiB
TOML
Executable File
49 lines
1.3 KiB
TOML
Executable File
[package]
|
|
name = "depot"
|
|
version = "0.1.0"
|
|
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 = { version = "1.1.9", default-features = false, features = ["miniz_oxide"] }
|
|
git2 = { version = "0.20.4", features = ["vendored-libgit2"] }
|
|
indicatif = "0.18.4"
|
|
nix = { version = "0.31.1", features = ["user"] }
|
|
reqwest = { version = "0.13.2", features = ["blocking", "rustls"] }
|
|
rusqlite = { version = "0.38.0", features = ["bundled"] }
|
|
openssl-sys = { version = "0.9", features = ["vendored"] }
|
|
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.25.0"
|
|
thiserror = "2.0.18"
|
|
toml = "0.9.8"
|
|
url = "2.5.8"
|
|
walkdir = "2.5.0"
|
|
xz2 = "0.1.7"
|
|
zip = "8.1.0"
|
|
zstd = { version = "0.13.3", features = ["zstdmt"] }
|
|
libz-sys = { version = "1.1.23", default-features = false, features = ["stock-zlib", "static"] }
|
|
inquire = "0.9.3"
|
|
md5 = "0.8.0"
|
|
suppaftp = "8.0.2"
|
|
|
|
[dev-dependencies]
|
|
tempfile = "3.25.0"
|
|
|
|
[profile.release]
|
|
opt-level = 3
|
|
lto = "thin"
|
|
codegen-units = 1
|
|
panic = "abort"
|
|
strip = "symbols"
|
|
debug = false
|