remove unused dependencies (#2520)

* remove unused dependencies

* moved umask to cfg(unix)

* changed Inflector to inflector, hoping it fixes the issue.

* roll back Inflector

* removed commented out deps now that everything looks good.
This commit is contained in:
Darren Schroeder
2020-09-09 13:57:51 -05:00
committed by GitHub
parent 2eb4f8d28a
commit a63a5adafa
9 changed files with 1 additions and 259 deletions

View File

@ -21,7 +21,6 @@ nu-test-support = {version = "0.19.0", path = "../nu-test-support"}
nu-value-ext = {version = "0.19.0", path = "../nu-value-ext"}
ansi_term = "0.12.1"
app_dirs = { version = "2.3.0", package = "app_dirs2" }
async-recursion = "0.3.1"
async-trait = "0.1.40"
base64 = "0.12.3"
@ -48,7 +47,6 @@ futures_codec = "0.4.1"
getset = "0.1.1"
git2 = { version = "0.13.11", default_features = false, optional = true }
glob = "0.3.0"
hex = "0.4.2"
htmlescape = "0.3.1"
ical = "0.6.0"
ichwh = { version = "0.3.4", optional = true }
@ -63,7 +61,6 @@ num-traits = "0.2.12"
parking_lot = "0.11.0"
pin-utils = "0.1.0"
pretty-hex = "0.2.0"
pretty_env_logger = "0.4.0"
ptree = { version = "0.3.0", optional = true }
query_interface = "0.3.5"
rand = "0.7.3"
@ -86,10 +83,7 @@ term = { version = "0.6.1", optional = true }
term_size = "0.3.2"
termcolor = "1.1.0"
toml = "0.5.6"
typetag = "0.1.5"
umask = "1.0.0"
unicode-segmentation = "1.6.0"
unicode-xid = "0.2.1"
uuid_crate = { package = "uuid", version = "0.8.1", features = ["v4"], optional = true }
which = { version = "4.0.2", optional = true }
zip = { version = "0.5.7", optional = true }
@ -104,6 +98,7 @@ Inflector = "0.11"
[target.'cfg(unix)'.dependencies]
users = "0.10.0"
umask = "1.0.0"
# TODO this will be possible with new dependency resolver
# (currently on nightly behind -Zfeatures=itarget):

View File

@ -22,13 +22,11 @@ getset = "0.1.1"
indexmap = { version = "1.6.0", features = ["serde-1"] }
log = "0.4.11"
num-bigint = { version = "0.2.6", features = ["serde"] }
num-format = { version = "0.4.0", features = ["with-num-bigint"] }
num-traits = "0.2.12"
parking_lot = "0.11.0"
query_interface = "0.3.5"
serde = { version = "1.0.115", features = ["derive"] }
toml = "0.5.6"
umask = "1.0.0"
nu-errors = {version = "0.19.0", path = "../nu-errors"}
nu-protocol = {version = "0.19.0", path = "../nu-protocol"}

View File

@ -16,7 +16,6 @@ indexmap = { version = "1.6.0", features = ["serde-1"] }
log = "0.4.11"
num-bigint = { version = "0.2.6", features = ["serde"] }
num-traits = "0.2.12"
parking_lot = "0.11.0"
serde = "1.0.115"
shellexpand = "2.0.0"

View File

@ -26,10 +26,8 @@ nu-source = {path = "../nu-source", version = "0.19.0"}
num-bigint = { version = "0.2.6", features = ["serde"] }
num-integer = "0.1.43"
num-traits = "0.2.12"
query_interface = "0.3.5"
serde = { version = "1.0.115", features = ["derive"] }
serde_bytes = "0.11.5"
typetag = "0.1.5"
# implement conversions
serde_json = "1.0.57"

View File

@ -10,7 +10,6 @@ version = "0.19.0"
doctest = false
[dependencies]
codespan-reporting = "0.9.5"
derive-new = "0.5.8"
getset = "0.1.1"
pretty = "0.5.2"

View File

@ -10,11 +10,9 @@ version = "0.19.0"
doctest = false
[dependencies]
nu-parser = {path = "../nu-parser", version = "0.19.0"}
nu-protocol = {path = "../nu-protocol", version = "0.19.0"}
nu-source = {path = "../nu-source", version = "0.19.0"}
directories = "3.0.1"
dunce = "1.0.1"
getset = "0.1.1"
glob = "0.3.0"

View File

@ -11,7 +11,6 @@ doctest = false
[dependencies]
nu-errors = {path = "../nu-errors", version = "0.19.0"}
nu-parser = {path = "../nu-parser", version = "0.19.0"}
nu-protocol = {path = "../nu-protocol", version = "0.19.0"}
nu-source = {path = "../nu-source", version = "0.19.0"}

View File

@ -10,7 +10,6 @@ version = "0.19.0"
doctest = false
[dependencies]
futures = { version = "0.3.5", features = ["compat", "io-compat"] }
nu-errors = {path = "../nu-errors", version = "0.19.0"}
nu-plugin = {path = "../nu-plugin", version = "0.19.0"}
nu-protocol = {path = "../nu-protocol", version = "0.19.0"}