matrix-sdk: Hide the cryptostore error behind a feature flag.

This commit is contained in:
Damir Jelić 2020-08-03 15:40:39 +02:00
parent e431ba0bf5
commit 01ba94c670

View file

@ -58,6 +58,7 @@ pub enum Error {
MatrixError(#[from] MatrixError),
/// An error occurred in the crypto store.
#[cfg(feature = "encryption")]
#[error(transparent)]
CryptoStoreError(#[from] CryptoStoreError),