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:
parent
05dc5af9b5
commit
8579919f03
1 changed files with 5 additions and 2 deletions
|
@ -17,9 +17,9 @@ name = "opgpcard"
|
||||||
path = "src/opgpcard.rs"
|
path = "src/opgpcard.rs"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
sequoia-openpgp = "1.3"
|
sequoia-openpgp = { version = "1.3", default-features = false }
|
||||||
openpgp-card-pcsc = { path = "../pcsc", version = "0.3" }
|
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"
|
sshkeys = "0.3.2"
|
||||||
pem = "1"
|
pem = "1"
|
||||||
rpassword = "6"
|
rpassword = "6"
|
||||||
|
@ -41,5 +41,8 @@ subplot-build = "0.5.0"
|
||||||
fehler = "1.0.0"
|
fehler = "1.0.0"
|
||||||
subplotlib = "0.5.0"
|
subplotlib = "0.5.0"
|
||||||
|
|
||||||
|
[features]
|
||||||
|
default = ["sequoia-openpgp/default"]
|
||||||
|
|
||||||
[package.metadata.cargo-udeps.ignore]
|
[package.metadata.cargo-udeps.ignore]
|
||||||
development = ["fehler", "subplotlib"]
|
development = ["fehler", "subplotlib"]
|
||||||
|
|
Loading…
Reference in a new issue