feat: update dependencies

This commit is contained in:
2024-11-14 00:00:12 +08:00
parent ec7aaa9fca
commit 9fe642ba7a
3 changed files with 29 additions and 26 deletions

View File

@@ -54,8 +54,11 @@ fn inner_main() -> CommandError {
Box::new(yubikey_init_master_key::CommandImpl),
];
let mut features: Vec<String> = vec![];
#[cfg(feature = "yubikey")]
features.push("yubikey".to_string());
#[allow(clippy::vec_init_then_push)]
{
#[cfg(feature = "yubikey")]
features.push("yubikey".to_string());
}
let long_about = format!("Local mini KMS, features: [{}]", features.join(", "));
let mut app = App::new(env!("CARGO_PKG_NAME"))
.version(env!("CARGO_PKG_VERSION"))