From cb14d8371c100ef3611bc3645992502d744d1436 Mon Sep 17 00:00:00 2001 From: Joshua Barrett Date: Fri, 17 Oct 2025 17:46:34 -0400 Subject: [PATCH] disable jacquard default-features in jaquard-axum dependencies By default, jacquard pulls in rouille to implement local oauth. This is most certainly the correct choice for most users, but if you are implementing a server (and therefore pulling in jacquard-axum), it's probably not what you want. Therefore, jacquard-axum should depend on jacquard without default features. --- crates/jacquard-axum/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/jacquard-axum/Cargo.toml b/crates/jacquard-axum/Cargo.toml index 95bc21d..c7bd2b2 100644 --- a/crates/jacquard-axum/Cargo.toml +++ b/crates/jacquard-axum/Cargo.toml @@ -22,7 +22,7 @@ path = "../../examples/axum_server.rs" [dependencies] axum = "0.8.6" bytes.workspace = true -jacquard = { version = "0.5", path = "../jacquard" } +jacquard = { version = "0.5", path = "../jacquard", default-features = false, features = ["api"] } jacquard-common = { version = "0.5", path = "../jacquard-common", features = ["reqwest-client"] } jacquard-derive = { version = "0.5.2", path = "../jacquard-derive" } jacquard-identity = { version = "0.5", path = "../jacquard-identity", optional = true } -- 2.50.1