Allow using the system's copy of zstd for Polars (#6232)

This commit is contained in:
Winter 2022-08-08 11:58:40 -04:00 committed by GitHub
parent cd0a04f02a
commit 9f131d998d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 0 deletions

2
Cargo.lock generated
View File

@ -2678,6 +2678,7 @@ dependencies = [
"wax",
"which",
"windows",
"zstd",
]
[[package]]
@ -5639,4 +5640,5 @@ checksum = "9fd07cbbc53846d9145dbffdf6dd09a7a0aa52be46741825f5c97bdd4f73f12b"
dependencies = [
"cc",
"libc",
"pkg-config",
]

View File

@ -93,6 +93,7 @@ trash-support = ["nu-command/trash-support"]
# Dataframe feature for nushell
dataframe = ["nu-command/dataframe"]
system-zstd = ["nu-command/system-zstd"]
# Database commands for nushell
database = ["nu-command/database"]

View File

@ -89,6 +89,7 @@ reedline = { version = "0.9.0", features = ["bashisms", "sqlite"]}
wax = { version = "0.5.0", features = ["diagnostics"] }
rusqlite = { version = "0.28.0", features = ["bundled"], optional = true }
sqlparser = { version = "0.16.0", features = ["serde"], optional = true }
zstd = { version = "*", optional = true }
[target.'cfg(unix)'.dependencies]
umask = "2.0.0"
@ -124,6 +125,7 @@ trash-support = ["trash"]
which-support = ["which"]
plugin = ["nu-parser/plugin"]
dataframe = ["polars", "num"]
system-zstd = ["zstd/pkg-config"]
database = ["sqlparser", "rusqlite"]
[build-dependencies]