0
0
mirror of https://github.com/neon-mmd/websurfx.git synced 2024-11-21 13:38:21 -05:00

🐛 Undeclared mini-mocha crate error when building the app with features other than memory-cache #493 (#501)

This commit is contained in:
abdulahad5112 2024-01-30 12:39:33 +05:30 committed by GitHub
parent 779908cb11
commit fbf73634ee
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

1
src/cache/cacher.rs vendored
View File

@ -4,6 +4,7 @@
use error_stack::Report; use error_stack::Report;
#[cfg(feature = "memory-cache")] #[cfg(feature = "memory-cache")]
use mini_moka::sync::Cache as MokaCache; use mini_moka::sync::Cache as MokaCache;
#[cfg(feature = "memory-cache")]
use mini_moka::sync::ConcurrentCacheExt; use mini_moka::sync::ConcurrentCacheExt;
#[cfg(feature = "memory-cache")] #[cfg(feature = "memory-cache")]