From a77e126319b56736f7e8a064d7f696da32c1c8e8 Mon Sep 17 00:00:00 2001 From: core Date: Wed, 29 Mar 2023 18:29:30 -0400 Subject: [PATCH] fixup cloneability --- Cargo.lock | 2 +- dnapi-rs/Cargo.toml | 2 +- dnapi-rs/src/credentials.rs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index babfa02..23732c9 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -622,7 +622,7 @@ dependencies = [ [[package]] name = "dnapi-rs" -version = "0.1.3" +version = "0.1.4" dependencies = [ "base64 0.21.0", "base64-serde", diff --git a/dnapi-rs/Cargo.toml b/dnapi-rs/Cargo.toml index 288b233..8de3842 100644 --- a/dnapi-rs/Cargo.toml +++ b/dnapi-rs/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "dnapi-rs" -version = "0.1.3" +version = "0.1.4" edition = "2021" description = "A rust client for the Defined Networking API" license = "AGPL-3.0-or-later" diff --git a/dnapi-rs/src/credentials.rs b/dnapi-rs/src/credentials.rs index c54ad7a..01a0b3d 100644 --- a/dnapi-rs/src/credentials.rs +++ b/dnapi-rs/src/credentials.rs @@ -5,7 +5,7 @@ use trifid_pki::cert::{deserialize_ed25519_public_many, serialize_ed25519_public use trifid_pki::ed25519_dalek::{SigningKey, VerifyingKey}; use serde::{Serialize, Deserialize}; -#[derive(Serialize, Deserialize)] +#[derive(Serialize, Deserialize, Clone)] /// Contains information necessary to make requests against the `DNClient` API. pub struct Credentials { /// The assigned Host ID that this client represents