Cargo Features

[dependencies]
rpm-sequoia = { version = "1.7.0", default-features = false, features = ["crypto-nettle", "crypto-rust", "crypto-cng", "crypto-openssl", "crypto-botan", "crypto-botan2"] }
default = crypto-nettle

To use a different cryptographic backend, e.g., OpenSSL, do:

cargo build --release --no-default-features --features crypto-openssl
We explicitly do not want to enable Sequoia's decompression support.
Hence we only select a crypto backend.

crypto-nettle default

Enables crypto-nettle of sequoia-openpgp

sequoia-openpgp:

TODO(#333): Allow for/implement more backends

crypto-rust

Enables crypto-rust of sequoia-openpgp

crypto-cng

Enables crypto-cng of sequoia-openpgp

crypto-openssl

Enables crypto-openssl of sequoia-openpgp

crypto-botan

Enables crypto-botan of sequoia-openpgp

crypto-botan2

Enables crypto-botan2 of sequoia-openpgp