summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJustus Winter <justus@sequoia-pgp.org>2023-12-11 17:45:51 +0100
committerJustus Winter <justus@sequoia-pgp.org>2024-01-25 11:19:44 +0100
commit49b155e0e1b213d0379242903eeafc0599e3c4d8 (patch)
tree10353df5e4ab7325e4da99fab791a059af533e29
parent049b0590040ebf08338b05f9483663dd280c1ca5 (diff)
net: Derive Clone for KeyServer.
-rw-r--r--net/src/lib.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/src/lib.rs b/net/src/lib.rs
index 1fd2353f..063e55f9 100644
--- a/net/src/lib.rs
+++ b/net/src/lib.rs
@@ -74,6 +74,7 @@ const KEYSERVER_ENCODE_SET: &AsciiSet =
.add(b'-').add(b'+').add(b'/');
/// For accessing keyservers using HKP.
+#[derive(Clone)]
pub struct KeyServer {
client: reqwest::Client,
/// The original URL given to the constructor.