diff --git a/Cargo.toml b/Cargo.toml index a0da27bb2d65..75527dd98186 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -12,6 +12,11 @@ exclude = [ [workspace.package] version = "0.31.1" +authors = ["Ritchie Vink "] +edition = "2021" +homepage = "https://www.pola.rs/" +repository = "https://github.com/pola-rs/polars" +license = "MIT" [workspace.dependencies] rayon = "1.6" diff --git a/contribution/polars_ops_multiple_arguments/Cargo.toml b/contribution/polars_ops_multiple_arguments/Cargo.toml index 0e9229e73624..4cda3db2c267 100644 --- a/contribution/polars_ops_multiple_arguments/Cargo.toml +++ b/contribution/polars_ops_multiple_arguments/Cargo.toml @@ -3,8 +3,6 @@ name = "polars_ops_multiple_arguments" version = "0.1.0" edition = "2021" -# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html - [dependencies] polars = { path = "../../crates/polars" } polars-core = { path = "../../crates/polars-core" } diff --git a/crates/polars-algo/Cargo.toml b/crates/polars-algo/Cargo.toml index f3b2dc979ccf..9f3234958e00 100644 --- a/crates/polars-algo/Cargo.toml +++ b/crates/polars-algo/Cargo.toml @@ -1,13 +1,13 @@ [package] name = "polars-algo" -version.workspace = true -edition = "2021" -license = "MIT" -repository = "https://github.com/pola-rs/polars" +version = { workspace = true } +authors = { workspace = true } +edition = { workspace = true } +homepage = { workspace = true } +license = { workspace = true } +repository = { workspace = true } description = "Algorithms built upon Polars primitives" -# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html - [dependencies] polars-core = { version = "0.31.1", path = "../polars-core", features = ["dtype-categorical", "asof_join"], default-features = false } polars-lazy = { version = "0.31.1", path = "../polars-lazy", features = ["asof_join", "concat_str", "strings"] } diff --git a/crates/polars-arrow/Cargo.toml b/crates/polars-arrow/Cargo.toml index e28b975a2977..fee0a23816ee 100644 --- a/crates/polars-arrow/Cargo.toml +++ b/crates/polars-arrow/Cargo.toml @@ -1,14 +1,16 @@ [package] name = "polars-arrow" -version.workspace = true -authors = ["ritchie46 "] -edition = "2021" -license = "MIT" +version = { workspace = true } +authors = { workspace = true } +edition = { workspace = true } +homepage = { workspace = true } +license = { workspace = true } +repository = { workspace = true } description = "Arrow interfaces for Polars DataFrame library" -# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html - [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 2b5142eed89f..4e87795459ca 100644 --- a/crates/polars-core/Cargo.toml +++ b/crates/polars-core/Cargo.toml @@ -1,13 +1,54 @@ [package] name = "polars-core" -version.workspace = true -authors = ["ritchie46 "] -edition = "2021" -license = "MIT" -repository = "https://github.com/pola-rs/polars" +version = { workspace = true } +authors = { workspace = true } +edition = { workspace = true } +homepage = { workspace = true } +license = { workspace = true } +repository = { workspace = true } description = "Core of the Polars DataFrame library" -# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html +[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"] @@ -148,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-error/Cargo.toml b/crates/polars-error/Cargo.toml index 1f4fb3a9a393..80456e4ddf7f 100644 --- a/crates/polars-error/Cargo.toml +++ b/crates/polars-error/Cargo.toml @@ -1,13 +1,13 @@ [package] name = "polars-error" -version.workspace = true -edition = "2021" -license = "MIT" -repository = "https://github.com/pola-rs/polars" +version = { workspace = true } +authors = { workspace = true } +edition = { workspace = true } +homepage = { workspace = true } +license = { workspace = true } +repository = { workspace = true } description = "Error definitions for the Polars DataFrame library" -# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html - [dependencies] arrow.workspace = true regex = { version = "1.6", optional = true } diff --git a/crates/polars-io/Cargo.toml b/crates/polars-io/Cargo.toml index 09209622a32d..f3674310aef3 100644 --- a/crates/polars-io/Cargo.toml +++ b/crates/polars-io/Cargo.toml @@ -1,13 +1,49 @@ [package] name = "polars-io" -version.workspace = true -authors = ["ritchie46 "] -edition = "2021" -license = "MIT" -repository = "https://github.com/pola-rs/polars" +version = { workspace = true } +authors = { workspace = true } +edition = { workspace = true } +homepage = { workspace = true } +license = { workspace = true } +repository = { workspace = true } description = "IO related logic for the Polars DataFrame library" -# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html +[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 @@ -58,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 bc3fef2e38fa..cd6f2fa3a9b5 100644 --- a/crates/polars-json/Cargo.toml +++ b/crates/polars-json/Cargo.toml @@ -1,22 +1,22 @@ [package] name = "polars-json" -version.workspace = true -authors = ["ritchie46 "] -edition = "2021" -license = "MIT" -repository = "https://github.com/pola-rs/polars" +version = { workspace = true } +authors = { workspace = true } +edition = { workspace = true } +homepage = { workspace = true } +license = { workspace = true } +repository = { workspace = true } description = "JSON related logic for the Polars DataFrame library" -# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html - [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 3f4794ffc1f0..96394e90b4da 100644 --- a/crates/polars-lazy/Cargo.toml +++ b/crates/polars-lazy/Cargo.toml @@ -1,22 +1,14 @@ [package] name = "polars-lazy" -version.workspace = true -authors = ["ritchie46 "] -edition = "2021" -license = "MIT" -repository = "https://github.com/pola-rs/polars" +version = { workspace = true } +authors = { workspace = true } +edition = { workspace = true } +homepage = { workspace = true } +license = { workspace = true } +repository = { workspace = true } description = "Lazy query engine for the Polars DataFrame library" -# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html - -[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 } @@ -26,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 b913c2051dd9..aa7b426d4b2d 100644 --- a/crates/polars-ops/Cargo.toml +++ b/crates/polars-ops/Cargo.toml @@ -1,15 +1,19 @@ [package] name = "polars-ops" -version.workspace = true -authors = ["ritchie46 "] -edition = "2021" -license = "MIT" -repository = "https://github.com/pola-rs/polars" -description = "More operations on polars data structures" - -# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html +version = { workspace = true } +authors = { workspace = true } +edition = { workspace = true } +homepage = { workspace = true } +license = { workspace = true } +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 } @@ -20,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 e2a0b690bb97..935d56955bbd 100644 --- a/crates/polars-pipe/Cargo.toml +++ b/crates/polars-pipe/Cargo.toml @@ -1,19 +1,14 @@ [package] name = "polars-pipe" -version.workspace = true -edition = "2021" -license = "MIT" -repository = "https://github.com/pola-rs/polars" +version = { workspace = true } +authors = { workspace = true } +edition = { workspace = true } +homepage = { workspace = true } +license = { workspace = true } +repository = { workspace = true } description = "Lazy query engine for the Polars DataFrame library" -# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html - [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 d8667857f86b..2f4b4e94f5c0 100644 --- a/crates/polars-plan/Cargo.toml +++ b/crates/polars-plan/Cargo.toml @@ -1,17 +1,24 @@ [package] name = "polars-plan" -version.workspace = true -edition = "2021" -license = "MIT" -repository = "https://github.com/pola-rs/polars" +version = { workspace = true } +authors = { workspace = true } +edition = { workspace = true } +homepage = { workspace = true } +license = { workspace = true } +repository = { workspace = true } description = "Lazy query engine for the Polars DataFrame library" [lib] doctest = false -# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html - [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 5ccc9a647763..0fa12f87b660 100644 --- a/crates/polars-row/Cargo.toml +++ b/crates/polars-row/Cargo.toml @@ -1,14 +1,15 @@ [package] name = "polars-row" -version.workspace = true -edition = "2021" -license = "MIT" -repository = "https://github.com/pola-rs/polars" +version = { workspace = true } +authors = { workspace = true } +edition = { workspace = true } +homepage = { workspace = true } +license = { workspace = true } +repository = { workspace = true } description = "Row encodings for the Polars DataFrame library" -# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html - [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 d1ecce7d1c7c..650bca823791 100644 --- a/crates/polars-sql/Cargo.toml +++ b/crates/polars-sql/Cargo.toml @@ -1,25 +1,27 @@ [package] name = "polars-sql" -version.workspace = true -edition = "2021" -license = "MIT" -repository = "https://github.com/pola-rs/polars" -description = "SQL transpiler for polars. Converts SQL to polars logical plans" - -# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html -[features] -csv = ["polars-lazy/csv"] -json = ["polars-lazy/json"] -default = [] -ipc = ["polars-lazy/ipc"] -parquet = ["polars-lazy/parquet"] +version = { workspace = true } +authors = { workspace = true } +edition = { workspace = true } +homepage = { workspace = true } +license = { workspace = true } +repository = { workspace = true } +description = "SQL transpiler for Polars. Converts SQL to Polars logical plans" [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 44fd53115573..e12ef3e7000b 100644 --- a/crates/polars-time/Cargo.toml +++ b/crates/polars-time/Cargo.toml @@ -1,24 +1,25 @@ [package] name = "polars-time" -version.workspace = true -authors = ["ritchie46 "] -edition = "2021" -license = "MIT" -description = "Time related code for the polars dataframe library" - -# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html +version = { workspace = true } +authors = { workspace = true } +edition = { workspace = true } +homepage = { workspace = true } +license = { workspace = true } +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 3afd2589da71..01bab2b1805a 100644 --- a/crates/polars-utils/Cargo.toml +++ b/crates/polars-utils/Cargo.toml @@ -1,19 +1,20 @@ [package] name = "polars-utils" -version.workspace = true -authors = ["ritchie46 "] -edition = "2021" -license = "MIT" -description = "private utils for the polars dataframe library" - -# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html +version = { workspace = true } +authors = { workspace = true } +edition = { workspace = true } +homepage = { workspace = true } +license = { workspace = true } +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 0c097700b1cd..46bf924c923d 100644 --- a/crates/polars/Cargo.toml +++ b/crates/polars/Cargo.toml @@ -1,13 +1,35 @@ [package] name = "polars" -version.workspace = true -authors = ["ritchie46 "] -edition = "2021" +version = { workspace = true } +authors = { workspace = true } +edition = { workspace = true } +homepage = { workspace = true } keywords = ["dataframe", "query-engine", "arrow"] -license = "MIT" -readme = "../README.md" -repository = "https://github.com/pola-rs/polars" -description = "DataFrame Library based on Apache Arrow" +license = { workspace = true } +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"] @@ -311,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/python_rust_compiled_function/Cargo.toml b/examples/python_rust_compiled_function/Cargo.toml index a37d35b4a775..109df4b8a333 100644 --- a/examples/python_rust_compiled_function/Cargo.toml +++ b/examples/python_rust_compiled_function/Cargo.toml @@ -3,7 +3,6 @@ name = "python_rust_compiled_function" version = "0.1.0" edition = "2021" -# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [lib] name = "my_polars_functions" crate-type = ["cdylib"] diff --git a/examples/read_csv/Cargo.toml b/examples/read_csv/Cargo.toml index c75c54be9793..f30de21d1ae0 100644 --- a/examples/read_csv/Cargo.toml +++ b/examples/read_csv/Cargo.toml @@ -3,11 +3,9 @@ name = "read_csv" version = "0.1.0" edition = "2021" -# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html +[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_json/Cargo.toml b/examples/read_json/Cargo.toml index 26d4da9a04b8..d9e66858c2c0 100644 --- a/examples/read_json/Cargo.toml +++ b/examples/read_json/Cargo.toml @@ -3,7 +3,5 @@ name = "read_json" version = "0.1.0" edition = "2021" -# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html - [dependencies] polars = { path = "../../crates/polars", features = ["json"] } diff --git a/examples/read_parquet/Cargo.toml b/examples/read_parquet/Cargo.toml index cf8035a46772..0e88fb7b62ca 100644 --- a/examples/read_parquet/Cargo.toml +++ b/examples/read_parquet/Cargo.toml @@ -3,7 +3,5 @@ name = "read_parquet" version = "0.1.0" edition = "2021" -# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html - [dependencies] polars = { path = "../../crates/polars", features = ["lazy", "parquet"] } diff --git a/examples/read_parquet_cloud/Cargo.toml b/examples/read_parquet_cloud/Cargo.toml index 6197af0b792b..634311904846 100644 --- a/examples/read_parquet_cloud/Cargo.toml +++ b/examples/read_parquet_cloud/Cargo.toml @@ -3,8 +3,7 @@ name = "read_parquet_cloud" version = "0.1.0" edition = "2021" -# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html - [dependencies] -aws-creds = "0.35.0" polars = { path = "../../crates/polars", features = ["lazy", "aws"] } + +aws-creds = "0.35.0" diff --git a/examples/string_filter/Cargo.toml b/examples/string_filter/Cargo.toml index 1dc4e0f356e4..a7738dd2db7f 100644 --- a/examples/string_filter/Cargo.toml +++ b/examples/string_filter/Cargo.toml @@ -3,7 +3,5 @@ name = "string_filter" version = "0.1.0" edition = "2021" -# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html - [dependencies] polars = { path = "../../crates/polars", features = ["strings", "lazy"] } diff --git a/polars-cli/Cargo.toml b/polars-cli/Cargo.toml index 8cf6616e7bfe..46c0e2ba4659 100644 --- a/polars-cli/Cargo.toml +++ b/polars-cli/Cargo.toml @@ -1,27 +1,15 @@ [package] name = "polars-cli" version = "0.3.0" -edition = "2021" -license = "MIT" -repository = "https://github.com/pola-rs/polars" +edition = { workspace = true } +license = { workspace = true } +repository = { workspace = true } description = "CLI interface for running SQL queries via Polars" [[bin]] 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" diff --git a/py-polars/Cargo.toml b/py-polars/Cargo.toml index 637f333a63ec..9d11dda96ddf 100644 --- a/py-polars/Cargo.toml +++ b/py-polars/Cargo.toml @@ -3,8 +3,6 @@ name = "py-polars" version = "0.18.11" edition = "2021" -# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html - [workspace] # prevents package from thinking it's in the workspace [target.'cfg(any(not(target_os = "linux"), use_mimalloc))'.dependencies]