From 01ba94c6709900d32ca2ef45acfbc781c7441213 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Damir=20Jeli=C4=87?= Date: Mon, 3 Aug 2020 15:40:39 +0200 Subject: [PATCH] matrix-sdk: Hide the cryptostore error behind a feature flag. --- matrix_sdk/src/error.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/matrix_sdk/src/error.rs b/matrix_sdk/src/error.rs index a060c217..cce76ace 100644 --- a/matrix_sdk/src/error.rs +++ b/matrix_sdk/src/error.rs @@ -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),