From: Ian Jackson Date: Thu, 15 Jun 2023 19:03:41 +0000 (+0100) Subject: clap: Use Command, not App X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ian/git?a=commitdiff_plain;h=571dec444281d8e0ed7e706722ce8c3e776314b9;p=hippotat.git clap: Use Command, not App warning: use of deprecated struct `clap::App`: Replaced with `Command` --> src/utils.rs:235:18 | 235 | let app: clap::App = F::command(); | ^^^ | = note: `#[warn(deprecated)]` on by default Signed-off-by: Ian Jackson --- diff --git a/src/utils.rs b/src/utils.rs index df2130c..823e202 100644 --- a/src/utils.rs +++ b/src/utils.rs @@ -232,6 +232,6 @@ fn hmac_test_vectors(){ } pub fn verify_cli() { - let app: clap::App = F::command(); + let app: clap::Command = F::command(); app.debug_assert(); }