// use moka::sync::Cache;
// use std::time::Duration;
//
// fn main() {
// let cache = Cache::builder()
// .max_capacity(100)
// .time_to_live(Duration::from_secs(60))
// .build();
//
// cache.insert("key", "value".to_string());
//
// match cache.get(&"key") {
// Some(v) => println!("命中: {}", v),
// None => println!("未命中"),
// }
// }