Update dependencies, improve CLI asset generation, and add man page

- Bump `git2` from 0.20.4 to 0.21.0 and `rusqlite` from 0.39.0 to 0.40.1 in Cargo.toml.
- Refactor CLI asset generation in `cli_assets.rs` to write a man page directly instead of generating it with `clap_mangen`.
- Implement a function to remove old man pages before writing the new one.
- Add tests to ensure the generated man page documents all visible command paths.
- Update the install script to copy the newly generated man page correctly.
- Introduce a new man page for the `depot` command with comprehensive documentation.
This commit is contained in:
2026-06-10 06:33:39 -05:00
parent 65cec6903a
commit 5b23ea95e0
7 changed files with 783 additions and 359 deletions
+2 -3
View File
@@ -24,10 +24,10 @@ ar = "0.9.0"
bzip2 = "0.6.1"
clap = { version = "4.6.0", features = ["derive"] }
flate2 = "1.1.9"
git2 = "0.20.4"
git2 = "0.21.0"
indicatif = "0.18.4"
nix = { version = "0.31.3", features = ["user"] }
rusqlite = "0.39.0"
rusqlite = "0.40.1"
semver = "1.0.28"
serde = { version = "1.0.228", features = ["derive"] }
yaml-rust2 = "0.11.0"
@@ -50,7 +50,6 @@ fd-lock = "4.0.4"
reqwest = { version = "0.13.4", default-features = false, features = ["blocking", "native-tls"] }
filetime = "0.2.29"
clap_complete = "4.6.5"
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"