Export GossipRequest

The `matrix-sdk-store::CryptoStore` uses the type in its definition,
so we export it to allow third party implementations.
This commit is contained in:
Erik Johnston
2021-10-22 11:29:15 +01:00
parent 9e1024f4b5
commit c824278565

View File

@@ -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<T, E = CryptoStoreError> = std::result::Result<T, E>;
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