fix no-default-features build

feat/vaults
Tomáš Mládek 2022-01-28 14:21:07 +01:00
parent 813f21b21e
commit 8b9947c2e4
No known key found for this signature in database
GPG Key ID: ED21612889E75EC5
1 changed files with 2 additions and 0 deletions

View File

@ -1,3 +1,5 @@
#[cfg(not(feature = "previews-image"))]
use anyhow::anyhow;
#[cfg(feature = "previews-image")]
use image::{io::Reader as ImageReader, GenericImageView};
use std::{cmp, path::Path};