Switch the current binary to use anyhow errors and add a proper argument number check

This commit is contained in:
2025-12-21 19:06:23 +01:00
parent 2e1c0a7dce
commit 944ed573c6
3 changed files with 13 additions and 2 deletions

7
Cargo.lock generated
View File

@@ -2,6 +2,12 @@
# It is not intended for manual editing.
version = 4
[[package]]
name = "anyhow"
version = "1.0.100"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a23eb6b1614318a8071c9b2521f36b424b2c83db5eb3a0fead4a6c0809af6e61"
[[package]]
name = "libc"
version = "0.2.176"
@@ -21,5 +27,6 @@ dependencies = [
name = "trve"
version = "0.0.0"
dependencies = [
"anyhow",
"memmap2",
]