diff --git a/Cargo.lock b/Cargo.lock index c88e1cf7337e38952cd441e5bf3fa2f9e93d558a..0a723e77921f47a2a7a846130b5998bbe925b993 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -173,6 +173,21 @@ dependencies = [ "generic-array", ] +[[package]] +name = "botan" +version = "0.10.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "066638d2456fe30d12c06c35ee0eb4f050c97ed3b68db0bff9b762da1976d169" +dependencies = [ + "botan-sys", +] + +[[package]] +name = "botan-sys" +version = "0.10.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cc0393ee6e938f1d845b0b7163b66f8ac93383a8a20aa64731ce04e5f59319fe" + [[package]] name = "buffered-reader" version = "1.1.4" @@ -1276,6 +1291,7 @@ checksum = "e5f5aa2f8ea2ab9690c2839a16f7bf335f404fa97fad627c8e828b302b1a5c18" dependencies = [ "anyhow", "base64", + "botan", "buffered-reader", "bzip2", "chrono", diff --git a/Cargo.toml b/Cargo.toml index caa768d5789dfd17fd645580ec7df600354fb122..6a42aeef78de790c40ab120d6f3512d962bdface 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -42,4 +42,5 @@ default = [ "sequoia-openpgp/default", ] crypto-nettle = ["sequoia-openpgp/crypto-nettle"] +crypto-botan = ["sequoia-openpgp/crypto-botan"] crypto-cng = ["sequoia-openpgp/crypto-cng"]