feat: v1.10.6, updates feature with-sequoia-openpgp

This commit is contained in:
2024-09-12 01:01:01 +08:00
parent 81149f6aa2
commit 0cfe26e238
3 changed files with 5 additions and 5 deletions

2
Cargo.lock generated
View File

@@ -487,7 +487,7 @@ dependencies = [
[[package]] [[package]]
name = "card-cli" name = "card-cli"
version = "1.10.5" version = "1.10.6"
dependencies = [ dependencies = [
"authenticator 0.3.1", "authenticator 0.3.1",
"base64 0.21.7", "base64 0.21.7",

View File

@@ -1,12 +1,12 @@
[package] [package]
name = "card-cli" name = "card-cli"
version = "1.10.5" version = "1.10.6"
authors = ["Hatter Jiang <jht5945@gmail.com>"] authors = ["Hatter Jiang <jht5945@gmail.com>"]
edition = "2018" edition = "2018"
[features] [features]
default = ["with-sequoia-openpgp"] default = ["with-sequoia-openpgp"]
with-sequoia-openpgp = ["sequoia-openpgp"] with-sequoia-openpgp = ["sequoia-openpgp", "openpgp-card-sequoia"]
[dependencies] [dependencies]
authenticator = "0.3" authenticator = "0.3"
@@ -23,7 +23,7 @@ hex = "0.4"
u2f = "0.2" u2f = "0.2"
openpgp-card = "0.3" openpgp-card = "0.3"
openpgp-card-pcsc = "0.3" openpgp-card-pcsc = "0.3"
openpgp-card-sequoia = "0.1" openpgp-card-sequoia = { version = "0.1", optional = true }
sequoia-openpgp = { version = "1.0", optional = true } sequoia-openpgp = { version = "1.0", optional = true }
chrono = "0.4" chrono = "0.4"
simpledateformat = "0.1" simpledateformat = "0.1"

View File

@@ -119,7 +119,7 @@ fn inner_main() -> CommandError {
Box::new(cmd_verifyfile::CommandImpl), Box::new(cmd_verifyfile::CommandImpl),
]; ];
let mut features = vec![]; let mut features: Vec<&str> = vec![];
#[cfg(feature = "with-sequoia-openpgp")] #[cfg(feature = "with-sequoia-openpgp")]
features.push("with-sequoia-openpgp"); features.push("with-sequoia-openpgp");
let about = format!( let about = format!(