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