From c824278565117b8728cb9ddcb8d3db982c59feb0 Mon Sep 17 00:00:00 2001 From: Erik Johnston Date: Fri, 22 Oct 2021 11:29:15 +0100 Subject: [PATCH] Export `GossipRequest` The `matrix-sdk-store::CryptoStore` uses the type in its definition, so we export it to allow third party implementations. --- crates/matrix-sdk-crypto/src/store/mod.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/crates/matrix-sdk-crypto/src/store/mod.rs b/crates/matrix-sdk-crypto/src/store/mod.rs index 13da23044..a17bc0d93 100644 --- a/crates/matrix-sdk-crypto/src/store/mod.rs +++ b/crates/matrix-sdk-crypto/src/store/mod.rs @@ -69,7 +69,7 @@ use zeroize::Zeroize; pub use self::sled::SledStore; use crate::{ error::SessionUnpicklingError, - gossiping::{GossipRequest, SecretInfo}, + gossiping::SecretInfo, identities::{ user::{OwnUserIdentity, UserIdentities, UserIdentity}, Device, ReadOnlyDevice, ReadOnlyUserIdentities, UserDevices, @@ -85,6 +85,8 @@ use crate::{ /// A `CryptoStore` specific result type. pub type Result = std::result::Result; +pub use crate::gossiping::GossipRequest; + /// A wrapper for our CryptoStore trait object. /// /// This is needed because we want to have a generic interface so we can