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>
This commit is contained in:
Filip Andersson 2022-11-12 06:44:56 +01:00 committed by GitHub
parent ce6d3c6eb2
commit 817eacccd8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 14 additions and 31 deletions

18
Cargo.lock generated
View file

@ -905,8 +905,6 @@ checksum = "61579ada4ec0c6031cfac3f86fdba0d195a7ebeb5e36693bd53cb5999a25beeb"
dependencies = [
"console",
"lazy_static",
"tempfile",
"zeroize",
]
[[package]]
@ -1407,15 +1405,6 @@ dependencies = [
"version_check",
]
[[package]]
name = "getopts"
version = "0.2.21"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "14dbbfd5c71d70241ecf9e6f13737f7b5ce823821063188d7e46c41d371eebd5"
dependencies = [
"unicode-width",
]
[[package]]
name = "getrandom"
version = "0.1.16"
@ -4335,7 +4324,6 @@ checksum = "5684396b456f3eb69ceeb34d1b5cb1a2f6acf7ca4452131efa3ba0ee2c2d0a70"
dependencies = [
"cssparser",
"ego-tree",
"getopts",
"html5ever",
"matches",
"selectors",
@ -5810,12 +5798,6 @@ version = "0.5.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "09041cd90cf85f7f8b2df60c646f853b7f535ce68f85244eb6731cf89fa498ec"
[[package]]
name = "zeroize"
version = "1.5.7"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c394b5bd0c6f669e7275d9c20aa90ae064cb22e75a1cad54e1b34088034b149f"
[[package]]
name = "zip"
version = "0.5.13"

View file

@ -23,7 +23,7 @@ nu-color-config = { path = "../nu-color-config", version = "0.71.1" }
reedline = { version = "0.14.0", features = ["bashisms", "sqlite"]}
atty = "0.2.14"
chrono = "0.4.21"
chrono = { default-features = false, features = ["std"], version = "0.4.21" }
crossterm = "0.24.0"
fancy-regex = "0.10.0"
fuzzy-matcher = "0.3.7"

View file

@ -32,13 +32,13 @@ base64 = "0.13.0"
byteorder = "1.4.3"
bytesize = "1.1.0"
calamine = "0.18.0"
chrono = { version = "0.4.21", features = ["serde", "unstable-locales"] }
chrono = { version = "0.4.21", features = ["unstable-locales", "std"], default-features = false }
chrono-humanize = "0.2.1"
chrono-tz = "0.6.3"
crossterm = "0.24.0"
csv = "1.1.6"
dialoguer = "0.9.0"
digest = "0.10.0"
dialoguer = { default-features = false, version = "0.9.0" }
digest = { default-features = false, version = "0.10.0" }
dtparse = "1.2.0"
eml-parser = "0.1.0"
encoding_rs = "0.8.30"

View file

@ -13,8 +13,9 @@ nu-path = { path = "../nu-path", version = "0.71.1" }
nu-glob = { path = "../nu-glob", version = "0.71.1" }
nu-utils = { path = "../nu-utils", version = "0.71.1" }
chrono = { version="0.4.21", features=["serde"] }
sysinfo = "0.26.2"
chrono = { version="0.4.21", features = ["std"], default-features = false }
sysinfo ="0.26.2"
strip-ansi-escapes = "0.1.1"
[features]
plugin = []

View file

@ -9,7 +9,7 @@ version = "0.71.1"
[dependencies]
bytesize = "1.1.0"
chrono = "0.4.21"
chrono = { default-features = false, features = ['std'], version = "0.4.21" }
itertools = "0.10"
miette = {version = "5.1.0", features = ["fancy-no-backtrace"]}
thiserror = "1.0.31"

View file

@ -11,7 +11,7 @@ version = "0.71.1"
bincode = "1.3.3"
nu-protocol = { path = "../nu-protocol", version = "0.71.1" }
nu-engine = { path = "../nu-engine", version = "0.71.1" }
serde = {version = "1.0.143", features = ["derive"]}
serde = { version = "1.0.143" }
serde_json = { version = "1.0"}
rmp = "0.8.11"
rmp-serde = "1.1.0"

View file

@ -14,13 +14,13 @@ nu-utils = { path = "../nu-utils", version = "0.71.1" }
nu-json = { path = "../nu-json", version = "0.71.1" }
byte-unit = "4.0.9"
chrono = { version="0.4.21", features=["serde"] }
chrono = { version="0.4.21", features= ["serde", "std"], default-features = false }
chrono-humanize = "0.2.1"
fancy-regex = "0.10.0"
indexmap = { version="1.7", features=["serde-1"] }
indexmap = { version="1.7" }
miette = { version = "5.1.0", features = ["fancy-no-backtrace"] }
num-format = "0.4.3"
serde = {version = "1.0.130", features = ["derive"]}
serde = {version = "1.0.143", default-features = false }
serde_json = { version = "1.0", optional = true }
strum = "0.24"
strum_macros = "0.24"

View file

@ -9,5 +9,5 @@ edition = "2021"
[dependencies]
nu-plugin = { path = "../nu-plugin", version = "0.71.1" }
nu-protocol = { path = "../nu-protocol", version = "0.71.1", features = ["plugin"] }
serde = { version = "1.0", features = ["derive"] }
serde = { version = "1.0", default-features = false }
typetag = "0.1.8"

View file

@ -15,6 +15,6 @@ nu-plugin = { path="../nu-plugin", version = "0.71.1" }
nu-protocol = { path="../nu-protocol", version = "0.71.1" }
nu-engine = { path="../nu-engine", version = "0.71.1" }
gjson = "0.8.0"
scraper = "0.13.0"
scraper = { default-features = false, version = "0.13.0" }
sxd-document = "0.3.2"
sxd-xpath = "0.4.2"