From a20e4440f00a33d28f02d97b213e98dc829860e6 Mon Sep 17 00:00:00 2001 From: Stijn de Gooijer Date: Thu, 3 Aug 2023 21:12:24 +0200 Subject: [PATCH] Reorder dependencies before features --- crates/polars-arrow/Cargo.toml | 3 +- crates/polars-core/Cargo.toml | 83 +++++++++++++------------- crates/polars-io/Cargo.toml | 73 +++++++++++----------- crates/polars-json/Cargo.toml | 7 ++- crates/polars-lazy/Cargo.toml | 15 ++--- crates/polars-ops/Cargo.toml | 9 +-- crates/polars-pipe/Cargo.toml | 11 ++-- crates/polars-plan/Cargo.toml | 13 ++-- crates/polars-row/Cargo.toml | 3 +- crates/polars-sql/Cargo.toml | 15 ++--- crates/polars-time/Cargo.toml | 9 +-- crates/polars-utils/Cargo.toml | 3 +- crates/polars/Cargo.toml | 42 ++++++------- examples/read_csv/Cargo.toml | 6 +- examples/read_parquet_cloud/Cargo.toml | 3 +- polars-cli/Cargo.toml | 24 ++++---- 16 files changed, 166 insertions(+), 153 deletions(-) diff --git a/crates/polars-arrow/Cargo.toml b/crates/polars-arrow/Cargo.toml index 051a01370ca7..fee0a23816ee 100644 --- a/crates/polars-arrow/Cargo.toml +++ b/crates/polars-arrow/Cargo.toml @@ -9,6 +9,8 @@ repository = { workspace = true } description = "Arrow interfaces for Polars DataFrame library" [dependencies] +polars-error = { version = "0.31.1", path = "../polars-error" } + arrow.workspace = true atoi = { version = "2.0.0", optional = true } chrono = { version = "0.4", default-features = false, features = ["std"], optional = true } @@ -17,7 +19,6 @@ ethnum = { version = "1.3.2", optional = true } hashbrown.workspace = true multiversion.workspace = true num-traits.workspace = true -polars-error = { version = "0.31.1", path = "../polars-error" } serde = { version = "1", features = ["derive"], optional = true } thiserror.workspace = true diff --git a/crates/polars-core/Cargo.toml b/crates/polars-core/Cargo.toml index e64ec698dea7..4e87795459ca 100644 --- a/crates/polars-core/Cargo.toml +++ b/crates/polars-core/Cargo.toml @@ -8,6 +8,48 @@ license = { workspace = true } repository = { workspace = true } description = "Core of the Polars DataFrame library" +[dependencies] +polars-arrow = { version = "0.31.1", path = "../polars-arrow", features = ["compute"] } +polars-error = { version = "0.31.1", path = "../polars-error" } +polars-row = { version = "0.31.1", path = "../polars-row" } +polars-utils = { version = "0.31.1", path = "../polars-utils" } + +ahash.workspace = true +arrow.workspace = true +bitflags.workspace = true +chrono = { version = "0.4", default-features = false, features = ["std"], optional = true } +chrono-tz = { version = "0.8", optional = true } +comfy-table = { version = "7.0.1", optional = true, default_features = false } +either.workspace = true +hashbrown.workspace = true +indexmap.workspace = true +itoap = { version = "1", optional = true, features = ["simd"] } +ndarray = { version = "0.15", optional = true, default_features = false } +num-traits.workspace = true +object_store = { version = "0.6.0", default-features = false, optional = true } +once_cell.workspace = true +rand = { version = "0.8", optional = true, features = ["small_rng", "std"] } +rand_distr = { version = "0.4", optional = true } +rayon.workspace = true +regex = { version = "1.6", optional = true } +# activate if you want serde support for Series and DataFrames +serde = { version = "1", features = ["derive"], optional = true } +serde_json = { version = "1", optional = true } +smartstring.workspace = true +thiserror.workspace = true +url = { version = "2.3.1", optional = true } +xxhash-rust.workspace = true + +[dev-dependencies] +bincode = "1" +serde_json = "1" + +[build-dependencies] +version_check = { workspace = true } + +[target.'cfg(target_family = "wasm")'.dependencies] +wasm-timer = "0.2.5" + [features] simd = ["arrow/simd", "polars-arrow/simd"] nightly = ["simd", "hashbrown/nightly", "polars-utils/nightly", "polars-arrow/nightly"] @@ -147,47 +189,6 @@ docs-selection = [ "azure" = ["async", "object_store/azure"] "gcp" = ["async", "object_store/gcp"] -[dependencies] -ahash.workspace = true -arrow.workspace = true -bitflags.workspace = true -chrono = { version = "0.4", default-features = false, features = ["std"], optional = true } -chrono-tz = { version = "0.8", optional = true } -comfy-table = { version = "7.0.1", optional = true, default_features = false } -either.workspace = true -hashbrown.workspace = true -indexmap.workspace = true -itoap = { version = "1", optional = true, features = ["simd"] } -ndarray = { version = "0.15", optional = true, default_features = false } -num-traits.workspace = true -object_store = { version = "0.6.0", default-features = false, optional = true } -once_cell.workspace = true -polars-arrow = { version = "0.31.1", path = "../polars-arrow", features = ["compute"] } -polars-error = { version = "0.31.1", path = "../polars-error" } -polars-row = { version = "0.31.1", path = "../polars-row" } -polars-utils = { version = "0.31.1", path = "../polars-utils" } -rand = { version = "0.8", optional = true, features = ["small_rng", "std"] } -rand_distr = { version = "0.4", optional = true } -rayon.workspace = true -regex = { version = "1.6", optional = true } -# activate if you want serde support for Series and DataFrames -serde = { version = "1", features = ["derive"], optional = true } -serde_json = { version = "1", optional = true } -smartstring.workspace = true -thiserror.workspace = true -url = { version = "2.3.1", optional = true } -xxhash-rust.workspace = true - -[target.'cfg(target_family = "wasm")'.dependencies] -wasm-timer = "0.2.5" - -[dev-dependencies] -bincode = "1" -serde_json = "1" - -[build-dependencies] -version_check = { workspace = true } - [package.metadata.docs.rs] # not all because arrow 4.3 does not compile with simd # all-features = true diff --git a/crates/polars-io/Cargo.toml b/crates/polars-io/Cargo.toml index dac61ba81f48..f3674310aef3 100644 --- a/crates/polars-io/Cargo.toml +++ b/crates/polars-io/Cargo.toml @@ -8,6 +8,43 @@ license = { workspace = true } repository = { workspace = true } description = "IO related logic for the Polars DataFrame library" +[dependencies] +polars-arrow = { version = "0.31.1", path = "../polars-arrow" } +polars-core = { version = "0.31.1", path = "../polars-core", features = [], default-features = false } +polars-error = { version = "0.31.1", path = "../polars-error", default-features = false } +polars-json = { version = "0.31.1", optional = true, path = "../polars-json" } +polars-time = { version = "0.31.1", path = "../polars-time", features = [], default-features = false, optional = true } +polars-utils = { version = "0.31.1", path = "../polars-utils" } + +ahash.workspace = true +arrow.workspace = true +async-trait = { version = "0.1.59", optional = true } +bytes = "1.3.0" +chrono = { version = "0.4", default-features = false, features = ["std"], optional = true } +chrono-tz = { version = "0.8.1", optional = true } +fast-float = { version = "0.2.0", optional = true } +flate2 = { version = "1", optional = true, default-features = false } +futures = { version = "0.3.25", optional = true } +home = "0.5.4" +lexical = { version = "6", optional = true, default-features = false, features = ["std", "parse-integers"] } +lexical-core = { version = "0.8", optional = true } +memchr.workspace = true +memmap = { package = "memmap2", version = "0.5.2", optional = true } +num-traits.workspace = true +object_store = { version = "0.6.0", default-features = false, optional = true } +once_cell = "1" +rayon.workspace = true +regex = "1.6" +serde = { version = "1", features = ["derive"], optional = true } +serde_json = { version = "1", optional = true, default-features = false, features = ["alloc", "raw_value"] } +simd-json = { version = "0.10", optional = true, features = ["allow-non-simd", "known-key"] } +simdutf8 = { version = "0.1", optional = true } +tokio = { version = "1.26.0", features = ["net"], optional = true } +url = { version = "2.3.1", optional = true } + +[dev-dependencies] +tempdir = "0.3.7" + [features] # support for arrows json parsing json = [ @@ -57,42 +94,6 @@ partition = ["polars-core/partition_by"] temporal = ["dtype-datetime", "dtype-date", "dtype-time"] simd = [] -[dependencies] -ahash.workspace = true -arrow.workspace = true -async-trait = { version = "0.1.59", optional = true } -bytes = "1.3.0" -chrono = { version = "0.4", default-features = false, features = ["std"], optional = true } -chrono-tz = { version = "0.8.1", optional = true } -fast-float = { version = "0.2.0", optional = true } -flate2 = { version = "1", optional = true, default-features = false } -futures = { version = "0.3.25", optional = true } -home = "0.5.4" -lexical = { version = "6", optional = true, default-features = false, features = ["std", "parse-integers"] } -lexical-core = { version = "0.8", optional = true } -memchr.workspace = true -memmap = { package = "memmap2", version = "0.5.2", optional = true } -num-traits.workspace = true -object_store = { version = "0.6.0", default-features = false, optional = true } -once_cell = "1" -polars-arrow = { version = "0.31.1", path = "../polars-arrow" } -polars-core = { version = "0.31.1", path = "../polars-core", features = [], default-features = false } -polars-error = { version = "0.31.1", path = "../polars-error", default-features = false } -polars-json = { version = "0.31.1", optional = true, path = "../polars-json" } -polars-time = { version = "0.31.1", path = "../polars-time", features = [], default-features = false, optional = true } -polars-utils = { version = "0.31.1", path = "../polars-utils" } -rayon.workspace = true -regex = "1.6" -serde = { version = "1", features = ["derive"], optional = true } -serde_json = { version = "1", optional = true, default-features = false, features = ["alloc", "raw_value"] } -simd-json = { version = "0.10", optional = true, features = ["allow-non-simd", "known-key"] } -simdutf8 = { version = "0.1", optional = true } -tokio = { version = "1.26.0", features = ["net"], optional = true } -url = { version = "2.3.1", optional = true } - -[dev-dependencies] -tempdir = "0.3.7" - [package.metadata.docs.rs] all-features = true # defines the configuration attribute `docsrs` diff --git a/crates/polars-json/Cargo.toml b/crates/polars-json/Cargo.toml index 0512836ceb31..cd6f2fa3a9b5 100644 --- a/crates/polars-json/Cargo.toml +++ b/crates/polars-json/Cargo.toml @@ -9,13 +9,14 @@ repository = { workspace = true } description = "JSON related logic for the Polars DataFrame library" [dependencies] +polars-arrow = { version = "0.31.1", path = "../polars-arrow", default-features = false } +polars-error = { version = "0.31.1", path = "../polars-error" } +polars-utils = { version = "0.31.1", path = "../polars-utils" } + ahash.workspace = true arrow.workspace = true fallible-streaming-iterator = "0.1" hashbrown.workspace = true indexmap.workspace = true num-traits.workspace = true -polars-arrow = { version = "0.31.1", path = "../polars-arrow", default-features = false } -polars-error = { version = "0.31.1", path = "../polars-error" } -polars-utils = { version = "0.31.1", path = "../polars-utils" } simd-json = { version = "0.10", features = ["allow-non-simd", "known-key"] } diff --git a/crates/polars-lazy/Cargo.toml b/crates/polars-lazy/Cargo.toml index 131de5f5ac34..96394e90b4da 100644 --- a/crates/polars-lazy/Cargo.toml +++ b/crates/polars-lazy/Cargo.toml @@ -8,14 +8,7 @@ license = { workspace = true } repository = { workspace = true } description = "Lazy query engine for the Polars DataFrame library" -[dev-dependencies] -serde_json = "1" - [dependencies] -ahash.workspace = true -bitflags.workspace = true -glob = "0.3" -once_cell = "1" polars-arrow = { version = "0.31.1", path = "../polars-arrow" } polars-core = { version = "0.31.1", path = "../polars-core", features = ["lazy", "zip_with", "random"], default-features = false } polars-io = { version = "0.31.1", path = "../polars-io", features = ["lazy", "csv"], default-features = false } @@ -25,10 +18,18 @@ polars-pipe = { version = "0.31.1", path = "../polars-pipe", optional = true } polars-plan = { version = "0.31.1", path = "../polars-plan" } polars-time = { version = "0.31.1", path = "../polars-time", optional = true } polars-utils = { version = "0.31.1", path = "../polars-utils" } + +ahash.workspace = true +bitflags.workspace = true +glob = "0.3" +once_cell = "1" pyo3 = { version = "0.19", optional = true } rayon.workspace = true smartstring.workspace = true +[dev-dependencies] +serde_json = "1" + [build-dependencies] version_check = { workspace = true } diff --git a/crates/polars-ops/Cargo.toml b/crates/polars-ops/Cargo.toml index 0bcdecbafec0..aa7b426d4b2d 100644 --- a/crates/polars-ops/Cargo.toml +++ b/crates/polars-ops/Cargo.toml @@ -9,6 +9,11 @@ repository = { workspace = true } description = "More operations on Polars data structures" [dependencies] +polars-arrow = { version = "0.31.1", path = "../polars-arrow", default-features = false } +polars-core = { version = "0.31.1", path = "../polars-core", features = [], default-features = false } +polars-json = { version = "0.31.1", optional = true, path = "../polars-json", default-features = false } +polars-utils = { version = "0.31.1", path = "../polars-utils", default-features = false } + argminmax = { version = "0.6.1", default-features = false, features = ["float"] } arrow.workspace = true base64 = { version = "0.21", optional = true } @@ -19,10 +24,6 @@ hex = { version = "0.4", optional = true } indexmap.workspace = true jsonpath_lib = { version = "0.3.0", optional = true, git = "https://github.com/ritchie46/jsonpath", branch = "improve_compiled" } memchr.workspace = true -polars-arrow = { version = "0.31.1", path = "../polars-arrow", default-features = false } -polars-core = { version = "0.31.1", path = "../polars-core", features = [], default-features = false } -polars-json = { version = "0.31.1", optional = true, path = "../polars-json", default-features = false } -polars-utils = { version = "0.31.1", path = "../polars-utils", default-features = false } serde = { version = "1", features = ["derive"], optional = true } serde_json = { version = "1", optional = true } smartstring.workspace = true diff --git a/crates/polars-pipe/Cargo.toml b/crates/polars-pipe/Cargo.toml index b71c035002f5..935d56955bbd 100644 --- a/crates/polars-pipe/Cargo.toml +++ b/crates/polars-pipe/Cargo.toml @@ -9,11 +9,6 @@ repository = { workspace = true } description = "Lazy query engine for the Polars DataFrame library" [dependencies] -crossbeam-channel = { version = "0.5", optional = true } -crossbeam-queue = { version = "0.3", optional = true } -enum_dispatch = "0.3" -hashbrown.workspace = true -num-traits.workspace = true polars-arrow = { version = "0.31.1", path = "../polars-arrow", default-features = false } polars-core = { version = "0.31.1", path = "../polars-core", features = ["lazy", "zip_with", "random"], default-features = false } polars-io = { version = "0.31.1", path = "../polars-io", default-features = false, features = ["ipc", "async"] } @@ -21,6 +16,12 @@ polars-ops = { version = "0.31.1", path = "../polars-ops", features = ["search_s polars-plan = { version = "0.31.1", path = "../polars-plan", default-features = false, features = ["compile"] } polars-row = { version = "0.31.1", path = "../polars-row" } polars-utils = { version = "0.31.1", path = "../polars-utils", features = ["sysinfo"] } + +crossbeam-channel = { version = "0.5", optional = true } +crossbeam-queue = { version = "0.3", optional = true } +enum_dispatch = "0.3" +hashbrown.workspace = true +num-traits.workspace = true rayon.workspace = true smartstring = { version = "1" } diff --git a/crates/polars-plan/Cargo.toml b/crates/polars-plan/Cargo.toml index b95039e1bdc2..2f4b4e94f5c0 100644 --- a/crates/polars-plan/Cargo.toml +++ b/crates/polars-plan/Cargo.toml @@ -12,6 +12,13 @@ description = "Lazy query engine for the Polars DataFrame library" doctest = false [dependencies] +polars-arrow = { version = "0.31.1", path = "../polars-arrow" } +polars-core = { version = "0.31.1", path = "../polars-core", features = ["lazy", "zip_with", "random"], default-features = false } +polars-io = { version = "0.31.1", path = "../polars-io", features = ["lazy", "csv"], default-features = false } +polars-ops = { version = "0.31.1", path = "../polars-ops", default-features = false } +polars-time = { version = "0.31.1", path = "../polars-time", optional = true } +polars-utils = { version = "0.31.1", path = "../polars-utils" } + ahash.workspace = true arrow.workspace = true chrono = { version = "0.4", optional = true } @@ -19,12 +26,6 @@ chrono-tz = { version = "0.8", optional = true } ciborium = { version = "0.2", optional = true } futures = { version = "0.3.25", optional = true } once_cell.workspace = true -polars-arrow = { version = "0.31.1", path = "../polars-arrow" } -polars-core = { version = "0.31.1", path = "../polars-core", features = ["lazy", "zip_with", "random"], default-features = false } -polars-io = { version = "0.31.1", path = "../polars-io", features = ["lazy", "csv"], default-features = false } -polars-ops = { version = "0.31.1", path = "../polars-ops", default-features = false } -polars-time = { version = "0.31.1", path = "../polars-time", optional = true } -polars-utils = { version = "0.31.1", path = "../polars-utils" } pyo3 = { version = "0.19", optional = true } rayon.workspace = true regex = { version = "1.6", optional = true } diff --git a/crates/polars-row/Cargo.toml b/crates/polars-row/Cargo.toml index 7471540229e1..0fa12f87b660 100644 --- a/crates/polars-row/Cargo.toml +++ b/crates/polars-row/Cargo.toml @@ -9,6 +9,7 @@ repository = { workspace = true } description = "Row encodings for the Polars DataFrame library" [dependencies] -arrow.workspace = true polars-error = { version = "0.31.1", path = "../polars-error" } polars-utils = { version = "0.31.1", path = "../polars-utils" } + +arrow.workspace = true diff --git a/crates/polars-sql/Cargo.toml b/crates/polars-sql/Cargo.toml index 442516548856..650bca823791 100644 --- a/crates/polars-sql/Cargo.toml +++ b/crates/polars-sql/Cargo.toml @@ -8,19 +8,20 @@ license = { workspace = true } repository = { workspace = true } description = "SQL transpiler for Polars. Converts SQL to Polars logical plans" -[features] -csv = ["polars-lazy/csv"] -json = ["polars-lazy/json"] -default = [] -ipc = ["polars-lazy/ipc"] -parquet = ["polars-lazy/parquet"] - [dependencies] polars-arrow = { version = "0.31.1", path = "../polars-arrow", features = ["like"] } polars-core = { version = "0.31.1", path = "../polars-core", features = [] } polars-lazy = { version = "0.31.1", path = "../polars-lazy", features = ["compile", "strings", "cross_join", "trigonometry", "abs", "round_series", "log", "regex", "is_in", "meta", "cum_agg"] } polars-plan = { version = "0.31.1", path = "../polars-plan", features = ["compile"] } + serde = "1" serde_json = { version = "1" } # sqlparser = { git = "https://github.com/sqlparser-rs/sqlparser-rs.git", rev = "ae3b5844c839072c235965fe0d1bddc473dced87" } sqlparser = "0.34" + +[features] +csv = ["polars-lazy/csv"] +json = ["polars-lazy/json"] +default = [] +ipc = ["polars-lazy/ipc"] +parquet = ["polars-lazy/parquet"] diff --git a/crates/polars-time/Cargo.toml b/crates/polars-time/Cargo.toml index be9bd330f33f..e12ef3e7000b 100644 --- a/crates/polars-time/Cargo.toml +++ b/crates/polars-time/Cargo.toml @@ -9,16 +9,17 @@ repository = { workspace = true } description = "Time related code for the Polars DataFrame library" [dependencies] +polars-arrow = { version = "0.31.1", path = "../polars-arrow", features = ["compute", "temporal"] } +polars-core = { version = "0.31.1", path = "../polars-core", default-features = false, features = ["dtype-datetime", "dtype-duration", "dtype-time", "dtype-date"] } +polars-ops = { version = "0.31.1", path = "../polars-ops" } +polars-utils = { version = "0.31.1", path = "../polars-utils" } + arrow.workspace = true atoi = "2.0.0" chrono = { version = "0.4", default-features = false, features = ["std"] } chrono-tz = { version = "0.8", optional = true } now = "0.1" once_cell.workspace = true -polars-arrow = { version = "0.31.1", path = "../polars-arrow", features = ["compute", "temporal"] } -polars-core = { version = "0.31.1", path = "../polars-core", default-features = false, features = ["dtype-datetime", "dtype-duration", "dtype-time", "dtype-date"] } -polars-ops = { version = "0.31.1", path = "../polars-ops" } -polars-utils = { version = "0.31.1", path = "../polars-utils" } regex = "1.7.1" serde = { version = "1", features = ["derive"], optional = true } smartstring.workspace = true diff --git a/crates/polars-utils/Cargo.toml b/crates/polars-utils/Cargo.toml index d949ffdb66a6..01bab2b1805a 100644 --- a/crates/polars-utils/Cargo.toml +++ b/crates/polars-utils/Cargo.toml @@ -9,11 +9,12 @@ repository = { workspace = true } description = "Private utils for the Polars DataFrame library" [dependencies] +polars-error = { version = "0.31.1", path = "../polars-error" } + ahash.workspace = true hashbrown.workspace = true num-traits.workspace = true once_cell.workspace = true -polars-error = { version = "0.31.1", path = "../polars-error" } rayon.workspace = true smartstring.workspace = true sysinfo = { version = "0.29", default-features = false, optional = true } diff --git a/crates/polars/Cargo.toml b/crates/polars/Cargo.toml index e7852d5595fc..46bf924c923d 100644 --- a/crates/polars/Cargo.toml +++ b/crates/polars/Cargo.toml @@ -10,6 +10,27 @@ readme = "../../README.md" repository = { workspace = true } description = "DataFrame library based on Apache Arrow" +[dependencies] +polars-algo = { version = "0.31.1", path = "../polars-algo", optional = true } +polars-core = { version = "0.31.1", path = "../polars-core", features = ["docs"], default-features = false } +polars-io = { version = "0.31.1", path = "../polars-io", features = [], default-features = false, optional = true } +polars-lazy = { version = "0.31.1", path = "../polars-lazy", features = [], default-features = false, optional = true } +polars-ops = { version = "0.31.1", path = "../polars-ops" } +polars-sql = { version = "0.31.1", path = "../polars-sql", default-features = false, optional = true } +polars-time = { version = "0.31.1", path = "../polars-time", default-features = false, optional = true } + +[dev-dependencies] +ahash = "0.8" +rand = "0.8" + +[build-dependencies] +version_check = { workspace = true } + +# enable js feature for getrandom to work in wasm +[target.'cfg(target_family = "wasm")'.dependencies.getrandom] +version = "0.2" +features = ["js"] + [features] sql = ["polars-sql"] rows = ["polars-core/rows"] @@ -312,27 +333,6 @@ bench = [ "lazy", ] -[dependencies] -polars-algo = { version = "0.31.1", path = "../polars-algo", optional = true } -polars-core = { version = "0.31.1", path = "../polars-core", features = ["docs"], default-features = false } -polars-io = { version = "0.31.1", path = "../polars-io", features = [], default-features = false, optional = true } -polars-lazy = { version = "0.31.1", path = "../polars-lazy", features = [], default-features = false, optional = true } -polars-ops = { version = "0.31.1", path = "../polars-ops" } -polars-sql = { version = "0.31.1", path = "../polars-sql", default-features = false, optional = true } -polars-time = { version = "0.31.1", path = "../polars-time", default-features = false, optional = true } - -# enable js feature for getrandom to work in wasm -[target.'cfg(target_family = "wasm")'.dependencies.getrandom] -version = "0.2" -features = ["js"] - -[dev-dependencies] -ahash = "0.8" -rand = "0.8" - -[build-dependencies] -version_check = { workspace = true } - [package.metadata.docs.rs] # all-features = true features = ["docs-selection"] diff --git a/examples/read_csv/Cargo.toml b/examples/read_csv/Cargo.toml index 16293c7956c9..f30de21d1ae0 100644 --- a/examples/read_csv/Cargo.toml +++ b/examples/read_csv/Cargo.toml @@ -3,9 +3,9 @@ name = "read_csv" version = "0.1.0" edition = "2021" +[dependencies] +polars = { path = "../../crates/polars", features = ["lazy", "csv", "ipc"] } + [features] write_output = ["polars/ipc", "polars/parquet"] default = ["write_output"] - -[dependencies] -polars = { path = "../../crates/polars", features = ["lazy", "csv", "ipc"] } diff --git a/examples/read_parquet_cloud/Cargo.toml b/examples/read_parquet_cloud/Cargo.toml index d0f1a23257a6..634311904846 100644 --- a/examples/read_parquet_cloud/Cargo.toml +++ b/examples/read_parquet_cloud/Cargo.toml @@ -4,5 +4,6 @@ version = "0.1.0" edition = "2021" [dependencies] -aws-creds = "0.35.0" polars = { path = "../../crates/polars", features = ["lazy", "aws"] } + +aws-creds = "0.35.0" diff --git a/polars-cli/Cargo.toml b/polars-cli/Cargo.toml index 715196b8252f..46c0e2ba4659 100644 --- a/polars-cli/Cargo.toml +++ b/polars-cli/Cargo.toml @@ -10,18 +10,6 @@ description = "CLI interface for running SQL queries via Polars" name = "polars" path = "src/main.rs" -[profile.release] -strip = true -lto = true -panic = "abort" - -[features] -highlight = ["nu-ansi-term"] -default = ["highlight", "parquet", "json", "ipc"] -parquet = ["polars/parquet"] -json = ["polars/json"] -ipc = ["polars/ipc"] - [dependencies] polars = { version = "0.31.1", path = "../crates/polars", features = ["lazy", "sql", "dtype-full", "serde-lazy"] } @@ -37,3 +25,15 @@ tmp_env = "0.1.1" [target.'cfg(target_os = "linux")'.dependencies] jemallocator = { version = "0.5.0", features = ["disable_initial_exec_tls"] } + +[features] +highlight = ["nu-ansi-term"] +default = ["highlight", "parquet", "json", "ipc"] +parquet = ["polars/parquet"] +json = ["polars/json"] +ipc = ["polars/ipc"] + +[profile.release] +strip = true +lto = true +panic = "abort"