diff options
Diffstat (limited to 'autocrypt')
-rw-r--r-- | autocrypt/Cargo.toml | 18 |
1 files changed, 11 insertions, 7 deletions
diff --git a/autocrypt/Cargo.toml b/autocrypt/Cargo.toml index b0e2fc0a..cca5041a 100644 --- a/autocrypt/Cargo.toml +++ b/autocrypt/Cargo.toml @@ -28,10 +28,14 @@ base64 = ">=0.12" [lib] bench = false -[features] -default = ["sequoia-openpgp/default"] -crypto-nettle = ["sequoia-openpgp/crypto-nettle"] -crypto-cng = ["sequoia-openpgp/crypto-cng"] -compression = ["sequoia-openpgp/compression"] -compression-deflate = ["sequoia-openpgp/compression-deflate"] -compression-bzip2 = ["sequoia-openpgp/compression-bzip2"] +# Enables a crypto backend for the tests: +[target.'cfg(not(windows))'.dev-dependencies] +sequoia-openpgp = { path = "../openpgp", version = "1", default-features = false, features = ["crypto-nettle", "__implicit-crypto-backend-for-tests"] } + +# Enables a crypto backend for the tests: +[target.'cfg(windows)'.dev-dependencies] +sequoia-openpgp = { path = "../openpgp", version = "1", default-features = false, features = ["crypto-cng", "__implicit-crypto-backend-for-tests"] } + +# Enables a crypto backend for the docs.rs generation: +[package.metadata.docs.rs] +features = ["sequoia-openpgp/default"] |