diff --git a/dht-cache/src/cache.rs b/dht-cache/src/cache.rs index b583f8c..43706eb 100644 --- a/dht-cache/src/cache.rs +++ b/dht-cache/src/cache.rs @@ -90,6 +90,7 @@ impl Builder { /// Cached DHT /// /// It keeps a local cache of the dht state and allow to query the persistent topics +#[derive(Clone)] pub struct Cache { peer_id: String, local: LocalCache,