Skip to content

Commit 817eacc

Browse files
FilipAndersson245sholderbachsophiajt
authored
removes unused features. (#6938)
* removes unused features. * Adds back multithreading feature to sysinfo. * Adds back alloc for percent-encoding * Adds updated lock file. * Missed one sysinfo. * `indexmap` just defaults * Revert `miette``default-features=false` Co-authored-by: Stefan Holderbach <sholderbach@users.noreply.github.com> Co-authored-by: JT <547158+jntrnr@users.noreply.github.com>
1 parent ce6d3c6 commit 817eacc

9 files changed

Lines changed: 14 additions & 31 deletions

File tree

Cargo.lock

Lines changed: 0 additions & 18 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

crates/nu-cli/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ nu-color-config = { path = "../nu-color-config", version = "0.71.1" }
2323
reedline = { version = "0.14.0", features = ["bashisms", "sqlite"]}
2424

2525
atty = "0.2.14"
26-
chrono = "0.4.21"
26+
chrono = { default-features = false, features = ["std"], version = "0.4.21" }
2727
crossterm = "0.24.0"
2828
fancy-regex = "0.10.0"
2929
fuzzy-matcher = "0.3.7"

crates/nu-command/Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,13 +32,13 @@ base64 = "0.13.0"
3232
byteorder = "1.4.3"
3333
bytesize = "1.1.0"
3434
calamine = "0.18.0"
35-
chrono = { version = "0.4.21", features = ["serde", "unstable-locales"] }
35+
chrono = { version = "0.4.21", features = ["unstable-locales", "std"], default-features = false }
3636
chrono-humanize = "0.2.1"
3737
chrono-tz = "0.6.3"
3838
crossterm = "0.24.0"
3939
csv = "1.1.6"
40-
dialoguer = "0.9.0"
41-
digest = "0.10.0"
40+
dialoguer = { default-features = false, version = "0.9.0" }
41+
digest = { default-features = false, version = "0.10.0" }
4242
dtparse = "1.2.0"
4343
eml-parser = "0.1.0"
4444
encoding_rs = "0.8.30"

crates/nu-engine/Cargo.toml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,9 @@ nu-path = { path = "../nu-path", version = "0.71.1" }
1313
nu-glob = { path = "../nu-glob", version = "0.71.1" }
1414
nu-utils = { path = "../nu-utils", version = "0.71.1" }
1515

16-
chrono = { version="0.4.21", features=["serde"] }
17-
sysinfo = "0.26.2"
16+
chrono = { version="0.4.21", features = ["std"], default-features = false }
17+
sysinfo ="0.26.2"
18+
strip-ansi-escapes = "0.1.1"
1819

1920
[features]
2021
plugin = []

crates/nu-parser/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ version = "0.71.1"
99

1010
[dependencies]
1111
bytesize = "1.1.0"
12-
chrono = "0.4.21"
12+
chrono = { default-features = false, features = ['std'], version = "0.4.21" }
1313
itertools = "0.10"
1414
miette = {version = "5.1.0", features = ["fancy-no-backtrace"]}
1515
thiserror = "1.0.31"

crates/nu-plugin/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ version = "0.71.1"
1111
bincode = "1.3.3"
1212
nu-protocol = { path = "../nu-protocol", version = "0.71.1" }
1313
nu-engine = { path = "../nu-engine", version = "0.71.1" }
14-
serde = {version = "1.0.143", features = ["derive"]}
14+
serde = { version = "1.0.143" }
1515
serde_json = { version = "1.0"}
1616
rmp = "0.8.11"
1717
rmp-serde = "1.1.0"

crates/nu-protocol/Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,13 @@ nu-utils = { path = "../nu-utils", version = "0.71.1" }
1414
nu-json = { path = "../nu-json", version = "0.71.1" }
1515

1616
byte-unit = "4.0.9"
17-
chrono = { version="0.4.21", features=["serde"] }
17+
chrono = { version="0.4.21", features= ["serde", "std"], default-features = false }
1818
chrono-humanize = "0.2.1"
1919
fancy-regex = "0.10.0"
20-
indexmap = { version="1.7", features=["serde-1"] }
20+
indexmap = { version="1.7" }
2121
miette = { version = "5.1.0", features = ["fancy-no-backtrace"] }
2222
num-format = "0.4.3"
23-
serde = {version = "1.0.130", features = ["derive"]}
23+
serde = {version = "1.0.143", default-features = false }
2424
serde_json = { version = "1.0", optional = true }
2525
strum = "0.24"
2626
strum_macros = "0.24"

crates/nu_plugin_custom_values/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,5 @@ edition = "2021"
99
[dependencies]
1010
nu-plugin = { path = "../nu-plugin", version = "0.71.1" }
1111
nu-protocol = { path = "../nu-protocol", version = "0.71.1", features = ["plugin"] }
12-
serde = { version = "1.0", features = ["derive"] }
12+
serde = { version = "1.0", default-features = false }
1313
typetag = "0.1.8"

crates/nu_plugin_query/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,6 @@ nu-plugin = { path="../nu-plugin", version = "0.71.1" }
1515
nu-protocol = { path="../nu-protocol", version = "0.71.1" }
1616
nu-engine = { path="../nu-engine", version = "0.71.1" }
1717
gjson = "0.8.0"
18-
scraper = "0.13.0"
18+
scraper = { default-features = false, version = "0.13.0" }
1919
sxd-document = "0.3.2"
2020
sxd-xpath = "0.4.2"

0 commit comments

Comments
 (0)