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"