Update to clap 4

The new API is confusing and very error-prone, with errors being
thrown at runtime rather than compile-time.

Hopefully nothing got broken in the process.
This commit is contained in:
Frank Denis 2022-12-25 12:37:48 +01:00
parent c82fb339ed
commit 6818fbe8a1
3 changed files with 88 additions and 56 deletions

View file

@ -17,9 +17,9 @@ tls = ["libdoh/tls"]
[dependencies]
libdoh = { path = "src/libdoh", version = "0.9.5", default-features = false }
clap = { version = "3", features = ["std", "cargo", "wrap_help"] }
clap = { version = "4", features = ["std", "cargo", "wrap_help", "string"] }
dnsstamps = "0.1.9"
mimalloc = { version = "0.1.29", default-features = false }
mimalloc = { version = "0.1.32", default-features = false }
[package.metadata.deb]
extended-description = """\