From be3b85c6503aa85932ed9702e34c7190f9acb689 Mon Sep 17 00:00:00 2001 From: Felix Ableitner Date: Fri, 26 Jan 2024 10:53:33 +0100 Subject: [PATCH] jsonwebtoken opt --- Cargo.toml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 3eb2df9..0d9cdd3 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -15,7 +15,8 @@ ssr = [ "diesel_migrations", "tokio", "leptos_axum", - "activitypub_federation" + "activitypub_federation", + "jsonwebtoken" ] csr = ["leptos/csr", "leptos_meta/csr", "leptos_router/csr"] hydrate = ["leptos/hydrate", "leptos_meta/hydrate", "leptos_router/hydrate"] @@ -48,7 +49,7 @@ enum_delegate = "0.2.0" env_logger = { version = "0.10.1", default-features = false } futures = "0.3.29" hex = "0.4.3" -jsonwebtoken = "9.2.0" +jsonwebtoken = {version = "9.2.0", optional = true } rand = "0.8.5" serde_json = "1.0.108" sha2 = "0.10.8"