19 lines
434 B
Rust
19 lines
434 B
Rust
// Never allow these
|
|
#![forbid(private_in_public)]
|
|
#![forbid(unused_must_use)] // NB: It's unsafe to not close/check some things
|
|
|
|
// Okay to toggle
|
|
//#![forbid(warnings)]
|
|
#![forbid(unreachable_patterns)]
|
|
#![forbid(unused_imports)]
|
|
#![forbid(unused_mut)]
|
|
#![forbid(unused_variables)]
|
|
|
|
// Always allow
|
|
#![allow(dead_code)]
|
|
#![allow(non_snake_case)]
|
|
|
|
pub mod multi_item_ttl_cache;
|
|
pub mod single_item_ttl_cache;
|
|
pub mod ttl_key_counter;
|