From d21ff7618f3f4583fb197f02110edf81920cfbba Mon Sep 17 00:00:00 2001 From: phoenix Date: Fri, 18 Sep 2026 16:13:14 -0400 Subject: [PATCH 1/3] Adding UserProfile --- src/user.rs | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/user.rs b/src/user.rs index 8b95b2c..1e6264f 100644 --- a/src/user.rs +++ b/src/user.rs @@ -31,6 +31,14 @@ pub struct User { pub salt_id: uuid::Uuid, } +#[derive(Clone, Debug, Deserialize, Serialize, utoipa::ToSchema)] +pub struct UserProfile { + pub firstname: String, + pub lastname: String, + pub username: String, + pub email: String +} + impl Default for User { fn default() -> Self { User { -- 2.47.3 From 6ab57f599271af5b83e8d229349a402b9550340e Mon Sep 17 00:00:00 2001 From: phoenix Date: Fri, 18 Sep 2026 17:55:18 -0400 Subject: [PATCH 2/3] cargo fmt --- src/user.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/user.rs b/src/user.rs index 1e6264f..3ccc5ca 100644 --- a/src/user.rs +++ b/src/user.rs @@ -36,7 +36,7 @@ pub struct UserProfile { pub firstname: String, pub lastname: String, pub username: String, - pub email: String + pub email: String, } impl Default for User { -- 2.47.3 From 3744ec5b2106b48011a3109effd05d55cab5d89b Mon Sep 17 00:00:00 2001 From: phoenix Date: Fri, 18 Sep 2026 17:55:40 -0400 Subject: [PATCH 3/3] bump: simodels --- Cargo.lock | 2 +- Cargo.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 83daa63..428aaac 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -478,7 +478,7 @@ checksum = "3a219298ac11a56ea9a6d2120044824d6f01aeb034955e7af7bc16858527deea" [[package]] name = "simodels" -version = "0.11.5" +version = "0.11.6" dependencies = [ "josekit", "rand", diff --git a/Cargo.toml b/Cargo.toml index 76bffe1..ec4f6fc 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "simodels" -version = "0.11.5" +version = "0.11.6" edition = "2024" rust-version = "1.95" description = "models used for the soaricarus project" -- 2.47.3