From 091746782cf9943a0ac65d64b3218c93efd06ae4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philipp=20Kr=C3=BCger?= Date: Tue, 2 Jan 2024 10:57:04 +0100 Subject: [PATCH] chore: Fix warning --- car-mirror/src/traits.rs | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/car-mirror/src/traits.rs b/car-mirror/src/traits.rs index 6e8eebb..46ea717 100644 --- a/car-mirror/src/traits.rs +++ b/car-mirror/src/traits.rs @@ -2,10 +2,9 @@ use crate::common::references; use anyhow::Result; use async_trait::async_trait; use libipld::{Cid, IpldCodec}; -use wnfs_common::{ - utils::{Arc, CondSync}, - BlockStore, BlockStoreError, -}; +#[cfg(feature = "quick_cache")] +use wnfs_common::utils::Arc; +use wnfs_common::{utils::CondSync, BlockStore, BlockStoreError}; /// This trait abstracts caches used by the car mirror implementation. /// An efficient cache implementation can significantly reduce the amount