From bf9db84b4971d277df73c368718fada39f1e1a87 Mon Sep 17 00:00:00 2001 From: Zephyra Date: Sun, 21 Jun 2026 00:48:26 +0000 Subject: [PATCH] jacquard: fix compilation without api feature Fix compilation of the `jacquard` crate when compiling without the `api` feature enabled. `serde::de::DeserializeOwned` is used as trait bounds on `AgentSessionExt` methods (e.g. `fetch_record`) which is not gated behind any feature flag, but the import for the `DeserializeOwned` trait was gated behind the `api` feature flag. --- crates/jacquard/src/client.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/crates/jacquard/src/client.rs b/crates/jacquard/src/client.rs index b8cc04b9d..685b3c088 100644 --- a/crates/jacquard/src/client.rs +++ b/crates/jacquard/src/client.rs @@ -73,7 +73,6 @@ use jacquard_oauth::client::{OAuthClient, OAuthSession}; use jacquard_oauth::dpop::DpopExt; use jacquard_oauth::resolver::OAuthResolver; use serde::Serialize; -#[cfg(feature = "api")] use serde::de::DeserializeOwned; use smol_str::SmolStr; #[cfg(feature = "api")] -- 2.51.2