From a554a92dec910b50d5218914ec20a4babd5947b5 Mon Sep 17 00:00:00 2001 From: Jonas Platte Date: Wed, 12 Jul 2023 14:48:05 +0200 Subject: [PATCH] crypto: Re-export vodozemac entirely --- crates/matrix-sdk-crypto/src/lib.rs | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/crates/matrix-sdk-crypto/src/lib.rs b/crates/matrix-sdk-crypto/src/lib.rs index dfa1e88c5..9d07baca2 100644 --- a/crates/matrix-sdk-crypto/src/lib.rs +++ b/crates/matrix-sdk-crypto/src/lib.rs @@ -95,17 +95,8 @@ pub use verification::{ }; #[cfg(feature = "qrcode")] pub use verification::{QrVerification, QrVerificationState, ScanError}; - -/// Re-exported Error types from the [vodozemac](https://crates.io/crates/vodozemac) crate. -pub mod vodozemac { - pub use vodozemac::{ - megolm::{DecryptionError as MegolmDecryptionError, SessionKeyDecodeError}, - olm::{ - DecryptionError as OlmDecryptionError, SessionCreationError as OlmSessionCreationError, - }, - DecodeError, KeyError, PickleError, SignatureError, VERSION, - }; -} +#[doc(no_inline)] +pub use vodozemac; /// The version of the matrix-sdk-cypto crate being used pub static VERSION: &str = env!("CARGO_PKG_VERSION");