diff options
author | Justus Winter <justus@sequoia-pgp.org> | 2023-01-11 10:34:56 +0100 |
---|---|---|
committer | Justus Winter <justus@sequoia-pgp.org> | 2023-01-11 10:34:56 +0100 |
commit | e750937553e5434d9463d7b65d0dca986b2d8d31 (patch) | |
tree | 53b76cbdf69d6d515da53dddbf2fd8433a69033e | |
parent | 0376b5ee679863d9ae78f95e8dbcd69de6a4a7ff (diff) |
sq: Feature cleanup, add new cryptographic backends.
- Enable sequoia-openpgp/default by default, notably this enables
support for deflate compression which was missing.
- Expose the compression features.
- Add the OpenSSL and RustCrypto backends.
-rw-r--r-- | sq/Cargo.toml | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/sq/Cargo.toml b/sq/Cargo.toml index 855a7dde..1330b1f9 100644 --- a/sq/Cargo.toml +++ b/sq/Cargo.toml @@ -50,7 +50,7 @@ anyhow = "1.0.18" clap = { version = "3", features = ["derive", "wrap_help"] } clap_complete = "3" chrono = "0.4.10" -sequoia-openpgp = { path = "../openpgp", version = "1.0.0", default-features = false } +sequoia-openpgp = { path = "../openpgp", version = "1.13", default-features = false } sequoia-net = { path = "../net", version = "0.25", default-features = false } subplot-build = "0.5.0" cfg-if = "1" @@ -68,11 +68,14 @@ bench = false [features] default = [ - "crypto-nettle", - "compression-bzip2", + "sequoia-openpgp/default", "autocrypt", ] crypto-nettle = ["sequoia-openpgp/crypto-nettle"] +crypto-openssl = ["sequoia-openpgp/crypto-openssl"] crypto-cng = ["sequoia-openpgp/crypto-cng"] -compression-bzip2 = ["buffered-reader/compression-bzip2", "sequoia-openpgp/compression-bzip2"] +crypto-rust = ["sequoia-openpgp/crypto-rust"] +compression = ["sequoia-openpgp/compression"] +compression-deflate = ["sequoia-openpgp/compression-deflate"] +compression-bzip2 = ["sequoia-openpgp/compression-bzip2"] autocrypt = ["sequoia-autocrypt"] |