oxidd_cache/lib.rs
1//! Apply cache implementations
2//!
3//! # Feature flags
4#![doc = document_features::document_features!()]
5#![warn(missing_docs)]
6#![deny(unsafe_op_in_unsafe_fn)]
7
8#[cfg(feature = "direct")]
9pub mod direct;
10
11/// Trait for generating and printing statistics
12///
13/// Implementors of this trait in this crate do not print anything unless the
14/// `statistics` feature is enabled.
15pub trait StatisticsGenerator {
16 /// Print statistics to stdout
17 fn print_stats(&self);
18}
19
20mod util;