diff --git a/radicle-crypto/src/ssh/keystore.rs b/radicle-crypto/src/ssh/keystore.rs index 96863da2..49c46472 100644 --- a/radicle-crypto/src/ssh/keystore.rs +++ b/radicle-crypto/src/ssh/keystore.rs @@ -23,7 +23,7 @@ pub enum Error { } /// Stores keys on disk, in OpenSSH format. -#[derive(Debug)] +#[derive(Debug, Clone)] pub struct Keystore { path: PathBuf, } diff --git a/radicle/src/profile.rs b/radicle/src/profile.rs index 3bc129ef..b151557c 100644 --- a/radicle/src/profile.rs +++ b/radicle/src/profile.rs @@ -48,7 +48,7 @@ pub enum Error { KeyNotRegistered(PublicKey), } -#[derive(Debug)] +#[derive(Debug, Clone)] pub struct Profile { pub home: PathBuf, pub storage: Storage,