forked from extern/nushell
Opt-out unused heim features from sys/ps plugins. (#1335)
This commit is contained in:
parent
c6da56949c
commit
7a0bc6bc46
2
Cargo.lock
generated
2
Cargo.lock
generated
@ -2136,7 +2136,6 @@ dependencies = [
|
||||
"app_dirs",
|
||||
"async-stream",
|
||||
"base64 0.11.0",
|
||||
"battery",
|
||||
"bigdecimal",
|
||||
"bson",
|
||||
"byte-unit",
|
||||
@ -2159,7 +2158,6 @@ dependencies = [
|
||||
"getset",
|
||||
"git2",
|
||||
"glob",
|
||||
"heim",
|
||||
"hex 0.4.0",
|
||||
"ichwh",
|
||||
"indexmap",
|
||||
|
@ -129,8 +129,6 @@ futures-timer = { version = "1.0.2", optional = true }
|
||||
clipboard = {version = "0.5", optional = true }
|
||||
ptree = {version = "0.2" }
|
||||
starship = { version = "0.33.1", optional = true}
|
||||
heim = {version = "0.0.9", optional = true}
|
||||
battery = {version = "0.7.5", optional = true}
|
||||
syntect = {version = "3.2.0", optional = true }
|
||||
onig_sys = {version = "=69.1.0", optional = true }
|
||||
crossterm = {version = "0.14.2", optional = true}
|
||||
@ -149,8 +147,8 @@ stable = ["default", "starship-prompt", "binaryview", "match", "tree", "average"
|
||||
|
||||
# Default
|
||||
textview = ["crossterm", "syntect", "onig_sys", "url", "nu_plugin_textview"]
|
||||
sys = ["heim", "battery", "nu_plugin_sys"]
|
||||
ps = ["heim", "futures-timer", "nu_plugin_ps"]
|
||||
sys = ["nu_plugin_sys"]
|
||||
ps = ["nu_plugin_ps"]
|
||||
inc = ["semver", "nu_plugin_inc"]
|
||||
str = ["nu_plugin_str"]
|
||||
|
||||
|
@ -16,10 +16,15 @@ nu-source = { path = "../nu-source", version = "0.9.0" }
|
||||
nu-errors = { path = "../nu-errors", version = "0.9.0" }
|
||||
|
||||
futures-preview = { version = "=0.3.0-alpha.19", features = ["compat", "io-compat"] }
|
||||
heim = "0.0.9"
|
||||
futures-timer = "1.0.3"
|
||||
pin-utils = "0.1.0-alpha.4"
|
||||
futures-util = "0.3.1"
|
||||
|
||||
[dependencies.heim]
|
||||
version = "0.0.9"
|
||||
default-features = false
|
||||
|
||||
features = ["process", "runtime-polyfill"]
|
||||
|
||||
[build-dependencies]
|
||||
nu-build = { version = "0.9.0", path = "../nu-build" }
|
||||
|
@ -12,10 +12,15 @@ nu-protocol = { path = "../nu-protocol", version = "0.9.0" }
|
||||
nu-source = { path = "../nu-source", version = "0.9.0" }
|
||||
nu-errors = { path = "../nu-errors", version = "0.9.0" }
|
||||
|
||||
heim = "0.0.9"
|
||||
futures-preview = { version = "=0.3.0-alpha.19", features = ["compat", "io-compat"] }
|
||||
battery = "0.7.5"
|
||||
futures-util = "0.3.1"
|
||||
|
||||
[dependencies.heim]
|
||||
version = "0.0.9"
|
||||
default-features = false
|
||||
|
||||
features = ["host", "cpu", "memory", "disk", "net", "sensors", "runtime-polyfill"]
|
||||
|
||||
[build-dependencies]
|
||||
nu-build = { version = "0.9.0", path = "../nu-build" }
|
||||
|
Loading…
Reference in New Issue
Block a user