diff --git a/Cargo.toml b/Cargo.toml index 25e53fe83f46e2708d74222ad8d3185a6b55ab03..51a1757e1472d8417a49ef9a679b7c65ee95240b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -29,7 +29,7 @@ memmem = "0.1" memoffset = "0.6" # When bumping the version of Sequoia search the code for XXX to find # spots where we can take advantage of new features. -sequoia-openpgp = "1.3" +sequoia-openpgp = { version = "1.0", default-features = false } thiserror = "1" [dependencies.rusqlite] @@ -38,3 +38,10 @@ features = ["bundled", "collation", "blob"] [lib] crate-type = ["cdylib"] + +[features] +default = [ + "sequoia-openpgp/default", +] +crypto-nettle = ["sequoia-openpgp/crypto-nettle"] +crypto-cng = ["sequoia-openpgp/crypto-cng"]