From f509de91f2a56d0dee6b73bf36d0b0be88442b38 Mon Sep 17 00:00:00 2001 From: Stijn de Gooijer Date: Fri, 20 Oct 2023 10:11:24 +0200 Subject: [PATCH] chore: Fix Cargo warning for parquet2 dependency (#11882) --- Cargo.toml | 2 +- crates/polars-arrow/Cargo.toml | 2 +- crates/polars-error/Cargo.toml | 4 ++-- crates/polars-io/Cargo.toml | 2 +- crates/polars-lazy/Cargo.toml | 2 +- crates/polars-ops/Cargo.toml | 4 ++-- crates/polars-plan/Cargo.toml | 6 +++--- crates/polars-time/Cargo.toml | 2 +- crates/polars/Cargo.toml | 2 +- 9 files changed, 13 insertions(+), 13 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index eda1f6d2a3af..6a5f0b2a835e 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -85,7 +85,7 @@ arrow-array = { version = ">=41", default-features = false } arrow-buffer = { version = ">=41", default-features = false } arrow-data = { version = ">=41", default-features = false } arrow-schema = { version = ">=41", default-features = false } -parquet2 = { version = "0.17.2", features = ["async"] } +parquet2 = { version = "0.17.2", features = ["async"], default-features = false } avro-schema = { version = "0.3" } [workspace.dependencies.arrow] diff --git a/crates/polars-arrow/Cargo.toml b/crates/polars-arrow/Cargo.toml index d464aad88f6b..58fb4d3ff72e 100644 --- a/crates/polars-arrow/Cargo.toml +++ b/crates/polars-arrow/Cargo.toml @@ -74,7 +74,7 @@ arrow-array = { workspace = true, optional = true } arrow-buffer = { workspace = true, optional = true } arrow-data = { workspace = true, optional = true } arrow-schema = { workspace = true, optional = true } -parquet2 = { workspace = true, optional = true, features = ["async"] } +parquet2 = { workspace = true, optional = true, default-features = true, features = ["async"] } [dev-dependencies] avro-rs = { version = "0.13", features = ["snappy"] } diff --git a/crates/polars-error/Cargo.toml b/crates/polars-error/Cargo.toml index 689e755e9a20..60e4800f073f 100644 --- a/crates/polars-error/Cargo.toml +++ b/crates/polars-error/Cargo.toml @@ -11,8 +11,8 @@ description = "Error definitions for the Polars DataFrame library" [dependencies] arrow-format = { version = "0.8.1", optional = true } avro-schema = { workspace = true, optional = true } -object_store = { workspace = true, default-features = false, optional = true } -parquet2 = { workspace = true, optional = true, default-features = false } +object_store = { workspace = true, optional = true } +parquet2 = { workspace = true, optional = true } regex = { workspace = true, optional = true } simdutf8 = { workspace = true } thiserror = { workspace = true } diff --git a/crates/polars-io/Cargo.toml b/crates/polars-io/Cargo.toml index 26819a2c58f0..18e69c0e9647 100644 --- a/crates/polars-io/Cargo.toml +++ b/crates/polars-io/Cargo.toml @@ -10,7 +10,7 @@ description = "IO related logic for the Polars DataFrame library" [dependencies] polars-core = { workspace = true } -polars-error = { workspace = true, default-features = false } +polars-error = { workspace = true } polars-json = { workspace = true, optional = true } polars-time = { workspace = true, features = [], optional = true } polars-utils = { workspace = true } diff --git a/crates/polars-lazy/Cargo.toml b/crates/polars-lazy/Cargo.toml index 785c2aeea51c..554e8eeda37d 100644 --- a/crates/polars-lazy/Cargo.toml +++ b/crates/polars-lazy/Cargo.toml @@ -10,7 +10,7 @@ description = "Lazy query engine for the Polars DataFrame library" [dependencies] arrow = { workspace = true } -polars-core = { workspace = true, features = ["lazy", "zip_with", "random"], default-features = false } +polars-core = { workspace = true, features = ["lazy", "zip_with", "random"] } polars-io = { workspace = true, features = ["lazy"] } polars-json = { workspace = true, optional = true } polars-ops = { workspace = true } diff --git a/crates/polars-ops/Cargo.toml b/crates/polars-ops/Cargo.toml index 72b00779d69f..1651ab8afb38 100644 --- a/crates/polars-ops/Cargo.toml +++ b/crates/polars-ops/Cargo.toml @@ -9,10 +9,10 @@ repository = { workspace = true } description = "More operations on Polars data structures" [dependencies] -polars-core = { workspace = true, features = ["algorithm_group_by"], default-features = false } +polars-core = { workspace = true, features = ["algorithm_group_by"] } polars-error = { workspace = true } polars-json = { workspace = true, optional = true } -polars-utils = { workspace = true, default-features = false } +polars-utils = { workspace = true } ahash = { workspace = true } argminmax = { version = "0.6.1", default-features = false, features = ["float"] } diff --git a/crates/polars-plan/Cargo.toml b/crates/polars-plan/Cargo.toml index 460881737b38..d70a90914835 100644 --- a/crates/polars-plan/Cargo.toml +++ b/crates/polars-plan/Cargo.toml @@ -13,10 +13,10 @@ doctest = false [dependencies] libloading = { version = "0.8.0", optional = true } -polars-core = { workspace = true, features = ["lazy", "zip_with", "random"], default-features = false } +polars-core = { workspace = true, features = ["lazy", "zip_with", "random"] } polars-ffi = { workspace = true, optional = true } -polars-io = { workspace = true, features = ["lazy"], default-features = false } -polars-ops = { workspace = true, features = ["zip_with"], default-features = false } +polars-io = { workspace = true, features = ["lazy"] } +polars-ops = { workspace = true, features = ["zip_with"] } polars-time = { workspace = true, optional = true } polars-utils = { workspace = true } diff --git a/crates/polars-time/Cargo.toml b/crates/polars-time/Cargo.toml index 77e8e861a6a1..abd23e909aa3 100644 --- a/crates/polars-time/Cargo.toml +++ b/crates/polars-time/Cargo.toml @@ -10,7 +10,7 @@ description = "Time related code for the Polars DataFrame library" [dependencies] arrow = { workspace = true, features = ["compute", "temporal"] } -polars-core = { workspace = true, default-features = false, features = ["dtype-datetime", "dtype-duration", "dtype-time", "dtype-date"] } +polars-core = { workspace = true, features = ["dtype-datetime", "dtype-duration", "dtype-time", "dtype-date"] } polars-error = { workspace = true } polars-ops = { workspace = true } polars-utils = { workspace = true } diff --git a/crates/polars/Cargo.toml b/crates/polars/Cargo.toml index 1f397e8e7aa6..165fea5806f0 100644 --- a/crates/polars/Cargo.toml +++ b/crates/polars/Cargo.toml @@ -14,7 +14,7 @@ description = "DataFrame library based on Apache Arrow" polars-algo = { workspace = true, optional = true } polars-core = { workspace = true } polars-io = { workspace = true, optional = true } -polars-lazy = { workspace = true, default-features = false, optional = true } +polars-lazy = { workspace = true, optional = true } polars-ops = { workspace = true } polars-sql = { workspace = true, optional = true } polars-time = { workspace = true, optional = true }