diff --git a/crates/polars-io/src/cloud/options.rs b/crates/polars-io/src/cloud/options.rs index 8738b927732f..58a23e595630 100644 --- a/crates/polars-io/src/cloud/options.rs +++ b/crates/polars-io/src/cloud/options.rs @@ -78,6 +78,7 @@ pub struct CloudOptions { pub file_cache_ttl: u64, pub(crate) config: Option, #[cfg(feature = "cloud")] + #[cfg_attr(feature = "serde", serde(skip))] // skipped for polars-cloud pub(crate) credential_provider: Option, }