mirror of
https://github.com/nushell/nushell.git
synced 2024-11-30 04:14:17 +01:00
979a97c455
# Description This PR introduces [workspaces dependencies](https://doc.rust-lang.org/cargo/reference/workspaces.html#the-dependencies-table). The advantages are: - a single place where dependency versions are declared - reduces the number of files to change when upgrading a dependency - reduces the risk of accidentally depending on 2 different versions of the same dependency I've only done a few so far. If this PR is accepted, I might continue and progressively do the rest. # User-Facing Changes N/A # Tests + Formatting - 🟢 `toolkit fmt` - 🟢 `toolkit clippy` - 🟢 `toolkit test` - 🟢 `toolkit test stdlib` # After Submitting N/A
74 lines
1.9 KiB
TOML
74 lines
1.9 KiB
TOML
[package]
|
|
authors = ["The Nushell Project Developers"]
|
|
description = "Nushell's dataframe commands based on polars."
|
|
edition = "2021"
|
|
license = "MIT"
|
|
name = "nu-cmd-dataframe"
|
|
repository = "https://github.com/nushell/nushell/tree/main/crates/nu-cmd-dataframe"
|
|
version = "0.91.1"
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
[lib]
|
|
bench = false
|
|
|
|
[dependencies]
|
|
nu-engine = { path = "../nu-engine", version = "0.91.1" }
|
|
nu-parser = { path = "../nu-parser", version = "0.91.1" }
|
|
nu-protocol = { path = "../nu-protocol", version = "0.91.1" }
|
|
|
|
# Potential dependencies for extras
|
|
chrono = { workspace = true, features = ["std", "unstable-locales"], default-features = false }
|
|
chrono-tz = "0.8"
|
|
fancy-regex = { workspace = true }
|
|
indexmap = { version = "2.2" }
|
|
num = { version = "0.4", optional = true }
|
|
serde = { version = "1.0", features = ["derive"] }
|
|
sqlparser = { version = "0.43", optional = true }
|
|
polars-io = { version = "0.37", features = ["avro"], optional = true }
|
|
polars-arrow = { version = "0.37", optional = true }
|
|
polars-ops = { version = "0.37", optional = true }
|
|
polars-plan = { version = "0.37", features = ["regex"], optional = true }
|
|
polars-utils = { version = "0.37", optional = true }
|
|
|
|
[dependencies.polars]
|
|
features = [
|
|
"arg_where",
|
|
"checked_arithmetic",
|
|
"concat_str",
|
|
"cross_join",
|
|
"csv",
|
|
"cum_agg",
|
|
"default",
|
|
"dtype-categorical",
|
|
"dtype-datetime",
|
|
"dtype-struct",
|
|
"dtype-i8",
|
|
"dtype-i16",
|
|
"dtype-u8",
|
|
"dtype-u16",
|
|
"dynamic_group_by",
|
|
"ipc",
|
|
"is_in",
|
|
"json",
|
|
"lazy",
|
|
"object",
|
|
"parquet",
|
|
"random",
|
|
"rolling_window",
|
|
"rows",
|
|
"serde",
|
|
"serde-lazy",
|
|
"strings",
|
|
"to_dummies",
|
|
]
|
|
optional = true
|
|
version = "0.37"
|
|
|
|
[features]
|
|
dataframe = ["num", "polars", "polars-io", "polars-arrow", "polars-ops", "polars-plan", "polars-utils", "sqlparser"]
|
|
default = []
|
|
|
|
[dev-dependencies]
|
|
nu-cmd-lang = { path = "../nu-cmd-lang", version = "0.91.1" }
|