From bea9489c8eab02f3d8093bf2018989b31d4e47f4 Mon Sep 17 00:00:00 2001 From: phoenix Date: Sun, 14 Jun 2026 17:19:39 -0400 Subject: [PATCH] Added features --- Cargo.lock | 2 +- Cargo.toml | 9 ++++++++- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index f36b92a..e5e8940 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -522,7 +522,7 @@ dependencies = [ [[package]] name = "textsender_models" -version = "0.3.3" +version = "0.3.4" dependencies = [ "const_format", "dotenvy", diff --git a/Cargo.toml b/Cargo.toml index b25c08c..7b11464 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "textsender_models" -version = "0.3.3" +version = "0.3.4" edition = "2024" rust-version = "1.95" description = "Models used for the textsender project" @@ -15,4 +15,11 @@ const_format = { version = "0.2.36" } josekit = { version = "0.10.3" } utoipa = { version = "5.4.0", features = ["uuid", "time"] } +[features] +default = ["full"] +full = ["user", "message", "contact"] +user = [] +message = [] +contact = [] + [dev-dependencies]