base_client: Only import the std Result type if encryption is enabled.

master
Damir Jelić 2020-03-18 14:17:22 +01:00
parent 7b70cb7e41
commit 114911f800
1 changed files with 2 additions and 0 deletions

View File

@ -14,6 +14,8 @@
// limitations under the License.
use std::collections::HashMap;
#[cfg(feature = "encryption")]
use std::result::Result as StdResult;
use crate::api::r0 as api;