From 0b1bdd66f95038bc6873ca9c619c2ec02ba4603f Mon Sep 17 00:00:00 2001 From: Jonas Platte Date: Thu, 4 Aug 2022 12:43:43 +0200 Subject: [PATCH] refactor(indexeddb): Export error types --- crates/matrix-sdk-indexeddb/src/lib.rs | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/crates/matrix-sdk-indexeddb/src/lib.rs b/crates/matrix-sdk-indexeddb/src/lib.rs index cb68261f3..1fcc05ee5 100644 --- a/crates/matrix-sdk-indexeddb/src/lib.rs +++ b/crates/matrix-sdk-indexeddb/src/lib.rs @@ -9,10 +9,11 @@ mod safe_encode; mod state_store; #[cfg(feature = "e2e-encryption")] -pub use crypto_store::IndexeddbCryptoStore; -#[cfg(feature = "e2e-encryption")] -use crypto_store::IndexeddbCryptoStoreError; -pub use state_store::{IndexeddbStateStore, IndexeddbStateStoreBuilder, MigrationConflictStrategy}; +pub use crypto_store::{IndexeddbCryptoStore, IndexeddbCryptoStoreError}; +pub use state_store::{ + IndexeddbStateStore, IndexeddbStateStoreBuilder, IndexeddbStateStoreError, + MigrationConflictStrategy, +}; /// Create a [`IndexeddbStateStore`] and a [`IndexeddbCryptoStore`] that use the /// same name and passphrase.