Implement update check functionality with version comparison and archive listing

- Added `check.rs` to handle package update checks, including logic for determining available updates from remote git repositories and archive listings.
- Introduced `versions.rs` to manage version patterns, comparison logic, and extraction of candidate versions from git refs and archive listings.
- Implemented `hex.rs` for encoding byte arrays to lowercase hexadecimal strings.
This commit is contained in:
2026-03-29 12:09:44 -05:00
parent 192cdc1af2
commit 57a364aa97
41 changed files with 8304 additions and 7267 deletions
+5 -5
View File
@@ -1,6 +1,6 @@
[package]
name = "depot"
version = "0.33.1"
version = "0.34.0"
edition = "2024"
[lints.rust]
@@ -19,11 +19,11 @@ rusqlite = "0.39.0"
semver = "1.0.27"
serde = { version = "1.0.228", features = ["derive"] }
yaml-rust2 = "0.11.0"
sha2 = "0.10.9"
sha2 = "0.11.0"
tar = "0.4.45"
tempfile = "=3.27.0"
thiserror = "2.0.18"
toml = "1.0.6"
toml = "1.1.0+spec-1.1.0"
url = "2.5.8"
walkdir = "2.5.0"
xz2 = "0.1.7"
@@ -38,7 +38,7 @@ fd-lock = "4.0.4"
reqwest = { version = "0.13.2", default-features = false, features = ["blocking", "native-tls"] }
filetime = "0.2.27"
clap_complete = "4.6.0"
clap_mangen = "0.2.33"
clap_mangen = "0.3.0"
sys-mount = { version = "3.1.0", default-features = false }
time = { version = "0.3.47", features = ["formatting", "parsing"] }
b2sum-rust = "0.3.0"
@@ -46,7 +46,7 @@ serde_ignored = "0.1.14"
lz4_flex = "0.13.0"
lzma-rust2 = "0.16.2"
signal-hook = "0.4.3"
sha1 = "0.10.6"
sha1 = "0.11.0"
[dev-dependencies]
tempfile = "=3.27.0"