diff --git a/src/post/cache.rs b/src/post/cache.rs index 36ffcab..d4ee5b7 100644 --- a/src/post/cache.rs +++ b/src/post/cache.rs @@ -33,6 +33,7 @@ pub struct CacheValue { pub struct Cache { map: HashMap, version: u16, + #[serde(skip)] ttl: Option, } @@ -278,5 +279,10 @@ pub(crate) async fn load_cache(config: &CacheConfig) -> Result