2023-05-19 17:56:08 +00:00
|
|
|
[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"
|
2024-04-30 22:51:13 +00:00
|
|
|
version = "0.93.0"
|
2023-05-19 17:56:08 +00:00
|
|
|
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
|
|
|
|
[lib]
|
|
|
|
bench = false
|
|
|
|
|
|
|
|
[dependencies]
|
2024-04-30 22:51:13 +00:00
|
|
|
nu-engine = { path = "../nu-engine", version = "0.93.0" }
|
|
|
|
nu-parser = { path = "../nu-parser", version = "0.93.0" }
|
|
|
|
nu-protocol = { path = "../nu-protocol", version = "0.93.0" }
|
2023-05-19 17:56:08 +00:00
|
|
|
|
|
|
|
# Potential dependencies for extras
|
2024-03-07 22:40:31 +00:00
|
|
|
chrono = { workspace = true, features = ["std", "unstable-locales"], default-features = false }
|
2024-03-23 23:46:02 +00:00
|
|
|
chrono-tz = { workspace = true }
|
2024-03-07 22:40:31 +00:00
|
|
|
fancy-regex = { workspace = true }
|
2024-03-23 23:46:02 +00:00
|
|
|
indexmap = { workspace = true }
|
2023-05-26 15:32:48 +00:00
|
|
|
num = { version = "0.4", optional = true }
|
2024-03-23 23:46:02 +00:00
|
|
|
serde = { workspace = true, features = ["derive"] }
|
2024-03-28 00:26:49 +00:00
|
|
|
# keep sqlparser at 0.39.0 until we can update polars
|
2024-04-13 18:00:04 +00:00
|
|
|
sqlparser = { version = "0.45", optional = true }
|
2024-04-17 17:50:17 +00:00
|
|
|
polars-io = { version = "0.39", features = ["avro"], optional = true }
|
|
|
|
polars-arrow = { version = "0.39", optional = true }
|
|
|
|
polars-ops = { version = "0.39", optional = true }
|
|
|
|
polars-plan = { version = "0.39", features = ["regex"], optional = true }
|
|
|
|
polars-utils = { version = "0.39", optional = true }
|
2023-05-19 17:56:08 +00:00
|
|
|
|
|
|
|
[dependencies.polars]
|
|
|
|
features = [
|
|
|
|
"arg_where",
|
|
|
|
"checked_arithmetic",
|
|
|
|
"concat_str",
|
|
|
|
"cross_join",
|
|
|
|
"csv",
|
|
|
|
"cum_agg",
|
|
|
|
"dtype-categorical",
|
|
|
|
"dtype-datetime",
|
|
|
|
"dtype-struct",
|
2023-10-25 02:25:21 +00:00
|
|
|
"dtype-i8",
|
|
|
|
"dtype-i16",
|
|
|
|
"dtype-u8",
|
|
|
|
"dtype-u16",
|
2023-10-11 19:28:18 +00:00
|
|
|
"dynamic_group_by",
|
2023-05-19 17:56:08 +00:00
|
|
|
"ipc",
|
|
|
|
"is_in",
|
|
|
|
"json",
|
|
|
|
"lazy",
|
|
|
|
"object",
|
|
|
|
"parquet",
|
|
|
|
"random",
|
|
|
|
"rolling_window",
|
|
|
|
"rows",
|
|
|
|
"serde",
|
|
|
|
"serde-lazy",
|
|
|
|
"strings",
|
2024-03-13 18:42:31 +00:00
|
|
|
"temporal",
|
2023-08-23 20:23:27 +00:00
|
|
|
"to_dummies",
|
2023-05-19 17:56:08 +00:00
|
|
|
]
|
2024-03-13 18:42:31 +00:00
|
|
|
default-features = false
|
2023-05-19 17:56:08 +00:00
|
|
|
optional = true
|
2024-04-17 17:50:17 +00:00
|
|
|
version = "0.39"
|
2023-05-19 17:56:08 +00:00
|
|
|
|
|
|
|
[features]
|
2024-01-24 15:27:06 +00:00
|
|
|
dataframe = ["num", "polars", "polars-io", "polars-arrow", "polars-ops", "polars-plan", "polars-utils", "sqlparser"]
|
2023-08-10 05:36:09 +00:00
|
|
|
default = []
|
2023-05-19 17:56:08 +00:00
|
|
|
|
|
|
|
[dev-dependencies]
|
2024-04-30 22:51:13 +00:00
|
|
|
nu-cmd-lang = { path = "../nu-cmd-lang", version = "0.93.0" }
|