rskit-cache 0.2.0-alpha.2

Cache abstraction with explicit store registration and local adapters
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
//! Filesystem cache adapter.

mod config;
mod registration;
mod store;

#[cfg(test)]
pub(crate) use config::DEFAULT_MAX_ENTRY_BYTES;
pub use config::FileCacheConfig;
pub use registration::register_file_cache;
pub use store::FileCache;
#[cfg(test)]
pub(crate) use store::{Entry, now_millis, ttl_millis};

#[cfg(test)]
mod tests;