diff --git a/src/client.rs b/src/client.rs index e7b4d13..655d8fc 100644 --- a/src/client.rs +++ b/src/client.rs @@ -55,6 +55,7 @@ pub struct ClientConfig { #[schemars(with = "String")] pub cache_ttl: Option, /// Request timeout (Format: "4s", "10m", "1h", "1d") + #[serde(default)] #[serde(deserialize_with = "duration_str::deserialize_option_duration")] #[schemars(with = "String")] pub timeout: Option,