opgpcard: Allow building with different sequoia crypto-backends.

E.g.:

cargo build --no-default-features --features sequoia-openpgp/crypto-rust --features sequoia-openpgp/allow-experimental-crypto --features sequoia-openpgp/allow-variable-time-crypto
This commit is contained in:
Heiko Schaefer 2023-02-17 18:13:36 +01:00
parent 05dc5af9b5
commit 8579919f03
No known key found for this signature in database
GPG key ID: 4A849A1904CCBD7D

View file

@ -17,9 +17,9 @@ name = "opgpcard"
path = "src/opgpcard.rs"
[dependencies]
sequoia-openpgp = "1.3"
sequoia-openpgp = { version = "1.3", default-features = false }
openpgp-card-pcsc = { path = "../pcsc", version = "0.3" }
openpgp-card-sequoia = { path = "../openpgp-card-sequoia", version = "0.1" }
openpgp-card-sequoia = { path = "../openpgp-card-sequoia", version = "0.1.1", default-features = false }
sshkeys = "0.3.2"
pem = "1"
rpassword = "6"
@ -41,5 +41,8 @@ subplot-build = "0.5.0"
fehler = "1.0.0"
subplotlib = "0.5.0"
[features]
default = ["sequoia-openpgp/default"]
[package.metadata.cargo-udeps.ignore]
development = ["fehler", "subplotlib"]