Spaces:
Running
Running
abdulahad5112
commited on
π Undeclared mini-mocha crate error when building the app with features other than memory-cache #493 (#501)
Browse files- src/cache/cacher.rs +1 -0
src/cache/cacher.rs
CHANGED
|
@@ -4,6 +4,7 @@
|
|
| 4 |
use error_stack::Report;
|
| 5 |
#[cfg(feature = "memory-cache")]
|
| 6 |
use mini_moka::sync::Cache as MokaCache;
|
|
|
|
| 7 |
use mini_moka::sync::ConcurrentCacheExt;
|
| 8 |
|
| 9 |
#[cfg(feature = "memory-cache")]
|
|
|
|
| 4 |
use error_stack::Report;
|
| 5 |
#[cfg(feature = "memory-cache")]
|
| 6 |
use mini_moka::sync::Cache as MokaCache;
|
| 7 |
+
#[cfg(feature = "memory-cache")]
|
| 8 |
use mini_moka::sync::ConcurrentCacheExt;
|
| 9 |
|
| 10 |
#[cfg(feature = "memory-cache")]
|