From f69d6fe5718ad956861e65033b5695de2622b20d Mon Sep 17 00:00:00 2001 From: nameexhaustion Date: Thu, 12 Sep 2024 17:16:01 +1000 Subject: [PATCH] fix(rust): Missing activation for `serde` for `PlSmallStr` from some crates (#18702) --- crates/polars-arrow/Cargo.toml | 2 +- crates/polars-core/Cargo.toml | 2 +- crates/polars-schema/Cargo.toml | 2 +- crates/polars-sql/Cargo.toml | 2 +- crates/polars-time/Cargo.toml | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/crates/polars-arrow/Cargo.toml b/crates/polars-arrow/Cargo.toml index 4339a8ec48c0..5e7e1eebff0a 100644 --- a/crates/polars-arrow/Cargo.toml +++ b/crates/polars-arrow/Cargo.toml @@ -154,7 +154,7 @@ compute = [ "compute_take", "compute_temporal", ] -serde = ["dep:serde", "polars-schema/serde"] +serde = ["dep:serde", "polars-schema/serde", "polars-utils/serde"] simd = [] # polars-arrow diff --git a/crates/polars-core/Cargo.toml b/crates/polars-core/Cargo.toml index 8ce74ced160c..a3f477e84dd6 100644 --- a/crates/polars-core/Cargo.toml +++ b/crates/polars-core/Cargo.toml @@ -117,7 +117,7 @@ dtype-struct = [] bigidx = ["arrow/bigidx", "polars-utils/bigidx"] python = [] -serde = ["dep:serde", "bitflags/serde", "polars-schema/serde"] +serde = ["dep:serde", "bitflags/serde", "polars-schema/serde", "polars-utils/serde"] serde-lazy = ["serde", "arrow/serde", "indexmap/serde", "chrono/serde"] docs-selection = [ diff --git a/crates/polars-schema/Cargo.toml b/crates/polars-schema/Cargo.toml index f928d9f36925..59920b30fd68 100644 --- a/crates/polars-schema/Cargo.toml +++ b/crates/polars-schema/Cargo.toml @@ -19,4 +19,4 @@ version_check = { workspace = true } [features] nightly = [] -serde = ["dep:serde", "serde/derive"] +serde = ["dep:serde", "serde/derive", "polars-utils/serde"] diff --git a/crates/polars-sql/Cargo.toml b/crates/polars-sql/Cargo.toml index c959694214ce..9db54d1c3333 100644 --- a/crates/polars-sql/Cargo.toml +++ b/crates/polars-sql/Cargo.toml @@ -42,5 +42,5 @@ json = ["polars-lazy/json", "polars-plan/json", "polars-plan/extract_jsonpath"] list_eval = ["polars-lazy/list_eval"] parquet = ["polars-lazy/parquet"] semi_anti_join = ["polars-lazy/semi_anti_join"] -serde = [] +serde = ["polars-utils/serde"] timezones = ["polars-lazy/timezones"] diff --git a/crates/polars-time/Cargo.toml b/crates/polars-time/Cargo.toml index cbddfbf4eba8..d75d634d213d 100644 --- a/crates/polars-time/Cargo.toml +++ b/crates/polars-time/Cargo.toml @@ -38,7 +38,7 @@ offset_by = [] rolling_window = ["polars-core/rolling_window"] rolling_window_by = ["polars-core/rolling_window_by", "dtype-duration"] fmt = ["polars-core/fmt"] -serde = ["dep:serde"] +serde = ["dep:serde", "polars-utils/serde"] temporal = ["polars-core/temporal"] timezones = ["chrono-tz", "dtype-datetime", "polars-core/timezones", "arrow/timezones", "polars-ops/timezones"]