From 9e951a0b5f034f1a35f824682c7a578deb9a8888 Mon Sep 17 00:00:00 2001 From: augustuswm Date: Mon, 21 Sep 2026 17:30:04 -0500 Subject: [PATCH] Make server copy and clone --- Cargo.lock | 2 +- Cargo.toml | 2 +- src/authenticator/mod.rs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 4d5d1d3..6b32c10 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1513,7 +1513,7 @@ dependencies = [ [[package]] name = "sf-client" -version = "0.2.1" +version = "0.2.2" dependencies = [ "async-trait", "chrono", diff --git a/Cargo.toml b/Cargo.toml index 8c24cef..f6d7dee 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "sf-client" -version = "0.2.1" +version = "0.2.2" edition = "2024" license = "MPL-2.0" diff --git a/src/authenticator/mod.rs b/src/authenticator/mod.rs index 93c0102..408538e 100644 --- a/src/authenticator/mod.rs +++ b/src/authenticator/mod.rs @@ -14,7 +14,7 @@ use crate::error::SfResult; pub mod jwt; pub mod session; -#[derive(Debug, Deserialize)] +#[derive(Clone, Copy, Debug, Deserialize)] #[serde(rename_all = "lowercase")] pub enum AuthorizationServer { Live,