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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
9 changed files with 1 additions and 259 deletions

243
Cargo.lock generated
View File

@ -49,12 +49,6 @@ dependencies = [
"memchr",
]
[[package]]
name = "android_log-sys"
version = "0.1.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b8052e2d8aabbb8d556d6abbcce2a22b9590996c5f849b9c7ce4544a2e3b984e"
[[package]]
name = "ansi_colours"
version = "1.0.1"
@ -88,18 +82,6 @@ version = "0.12.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "33954243bd79057c2de7338850b85983a44588021f8a5fee574a8888c6de4344"
[[package]]
name = "app_dirs2"
version = "2.3.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a213127e3ec94ab7b7397a23ca4649c0494b8ed576b3fcf834a6569bde87512e"
dependencies = [
"jni",
"ndk-glue",
"winapi 0.3.9",
"xdg",
]
[[package]]
name = "arc-swap"
version = "0.4.7"
@ -127,12 +109,6 @@ version = "0.5.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "cff77d8686867eceff3105329d4698d96c2391c176d5d03adc90c7389162b5b8"
[[package]]
name = "ascii"
version = "0.9.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "eab1c04a571841102f5345a8fc0f6bb3d31c315dec879b5c6e42e40ce7ffa34e"
[[package]]
name = "async-attributes"
version = "1.1.1"
@ -640,12 +616,6 @@ dependencies = [
"jobserver",
]
[[package]]
name = "cesu8"
version = "1.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "6d43a04d8753f35258c91f8ec639f792891f748a1edbd759cf1dcea3382ad83c"
[[package]]
name = "cfg-if"
version = "0.1.10"
@ -761,19 +731,6 @@ dependencies = [
"winapi 0.3.9",
]
[[package]]
name = "combine"
version = "3.8.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "da3da6baa321ec19e1cc41d31bf599f00c783d0517095cdaf0332e3fe8d20680"
dependencies = [
"ascii",
"byteorder",
"either",
"memchr",
"unreachable",
]
[[package]]
name = "concurrent-queue"
version = "1.2.2"
@ -1024,16 +981,6 @@ dependencies = [
"memchr",
]
[[package]]
name = "ctor"
version = "0.1.15"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "39858aa5bac06462d4dd4b9164848eb81ffc4aa5c479746393598fd193afa227"
dependencies = [
"quote",
"syn",
]
[[package]]
name = "ctrlc"
version = "3.1.6"
@ -1116,17 +1063,6 @@ dependencies = [
"byteorder",
]
[[package]]
name = "derivative"
version = "2.1.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "cb582b60359da160a9477ee80f15c8d784c477e69c217ef2cdd4169c24ea380f"
dependencies = [
"proc-macro2",
"quote",
"syn",
]
[[package]]
name = "derive-new"
version = "0.5.8"
@ -1373,22 +1309,12 @@ dependencies = [
"termcolor",
]
[[package]]
name = "erased-serde"
version = "0.3.12"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "6ca8b296792113e1500fd935ae487be6e00ce318952a6880555554824d6ebf38"
dependencies = [
"serde 1.0.115",
]
[[package]]
name = "error-chain"
version = "0.12.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "2d2f06b9cac1506ece98fe3231e3cc9c4410ec3d5b1f24ae1c8946f0742cdefc"
dependencies = [
"backtrace",
"version_check",
]
@ -1814,17 +1740,6 @@ dependencies = [
"syn",
]
[[package]]
name = "ghost"
version = "0.1.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "1a5bcf1bbeab73aa4cf2fde60a846858dc036163c7c33bec309f8d17de785479"
dependencies = [
"proc-macro2",
"quote",
"syn",
]
[[package]]
name = "gimli"
version = "0.22.0"
@ -2295,28 +2210,6 @@ version = "0.1.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "5b141fdc7836c525d4d594027d318c84161ca17aaf8113ab1f81ab93ae897485"
[[package]]
name = "inventory"
version = "0.1.8"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "49c68da9c8b1bda33dc6f55b2a9b4f44eca5ba2b2a1a308eab40db9fb7e200cb"
dependencies = [
"ctor",
"ghost",
"inventory-impl",
]
[[package]]
name = "inventory-impl"
version = "0.1.8"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "4143007b389ae51577282e3c95cf5a7ae0c9e06cafa927508300ceedcbc0354c"
dependencies = [
"proc-macro2",
"quote",
"syn",
]
[[package]]
name = "iovec"
version = "0.1.4"
@ -2361,26 +2254,6 @@ version = "0.4.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "dc6f3ad7b9d11a0c00842ff8de1b60ee58661048eb8049ed33c73594f359d7e6"
[[package]]
name = "jni"
version = "0.14.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "1981310da491a4f0f815238097d0d43d8072732b5ae5f8bd0d8eadf5bf245402"
dependencies = [
"cesu8",
"combine",
"error-chain",
"jni-sys",
"log 0.4.11",
"walkdir",
]
[[package]]
name = "jni-sys"
version = "0.3.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "8eaf4bc02d17cbdd7ff4c7438cafcdf7fb9a4613313ad11b4f8fefe7d3fa0130"
[[package]]
name = "jobserver"
version = "0.1.21"
@ -2885,37 +2758,6 @@ dependencies = [
"rust-stemmers",
]
[[package]]
name = "ndk"
version = "0.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "95a356cafe20aee088789830bfea3a61336e84ded9e545e00d3869ce95dcb80c"
dependencies = [
"jni-sys",
"ndk-sys",
"num_enum",
]
[[package]]
name = "ndk-glue"
version = "0.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d1730ee2e3de41c3321160a6da815f008c4006d71b095880ea50e17cf52332b8"
dependencies = [
"android_log-sys",
"lazy_static 1.4.0",
"libc",
"log 0.4.11",
"ndk",
"ndk-sys",
]
[[package]]
name = "ndk-sys"
version = "0.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "2b2820aca934aba5ed91c79acc72b6a44048ceacc5d36c035ed4e051f12d887d"
[[package]]
name = "neso"
version = "0.5.0"
@ -3034,7 +2876,6 @@ version = "0.19.0"
dependencies = [
"Inflector",
"ansi_term 0.12.1",
"app_dirs2",
"async-recursion",
"async-trait",
"base64 0.12.3",
@ -3063,7 +2904,6 @@ dependencies = [
"getset",
"git2",
"glob",
"hex 0.4.2",
"htmlescape",
"ical",
"ichwh",
@ -3087,7 +2927,6 @@ dependencies = [
"parking_lot 0.11.0",
"pin-utils",
"pretty-hex",
"pretty_env_logger",
"ptree",
"query_interface",
"quick-xml 0.18.1",
@ -3116,10 +2955,8 @@ dependencies = [
"termcolor",
"toml",
"trash",
"typetag",
"umask",
"unicode-segmentation",
"unicode-xid",
"url 2.1.1",
"users",
"uuid 0.8.1",
@ -3147,13 +2984,11 @@ dependencies = [
"nu-table",
"nu-value-ext",
"num-bigint",
"num-format",
"num-traits 0.2.12",
"parking_lot 0.11.0",
"query_interface",
"serde 1.0.115",
"toml",
"umask",
"users",
]
@ -3190,7 +3025,6 @@ dependencies = [
"nu-source",
"num-bigint",
"num-traits 0.2.12",
"parking_lot 0.11.0",
"serde 1.0.115",
"shellexpand",
]
@ -3230,20 +3064,17 @@ dependencies = [
"num-bigint",
"num-integer",
"num-traits 0.2.12",
"query_interface",
"serde 1.0.115",
"serde_bytes",
"serde_json",
"serde_yaml",
"toml",
"typetag",
]
[[package]]
name = "nu-source"
version = "0.19.0"
dependencies = [
"codespan-reporting",
"derive-new",
"getset",
"pretty",
@ -3263,12 +3094,10 @@ dependencies = [
name = "nu-test-support"
version = "0.19.0"
dependencies = [
"directories 3.0.1",
"dunce",
"getset",
"glob",
"indexmap",
"nu-parser",
"nu-protocol",
"nu-source",
"tempfile",
@ -3281,7 +3110,6 @@ dependencies = [
"indexmap",
"itertools",
"nu-errors",
"nu-parser",
"nu-protocol",
"nu-source",
"num-traits 0.2.12",
@ -3362,7 +3190,6 @@ dependencies = [
name = "nu_plugin_match"
version = "0.19.0"
dependencies = [
"futures 0.3.5",
"nu-errors",
"nu-plugin",
"nu-protocol",
@ -3603,28 +3430,6 @@ dependencies = [
"libc",
]
[[package]]
name = "num_enum"
version = "0.4.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ca565a7df06f3d4b485494f25ba05da1435950f4dc263440eda7a6fa9b8e36e4"
dependencies = [
"derivative",
"num_enum_derive",
]
[[package]]
name = "num_enum_derive"
version = "0.4.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ffa5a33ddddfee04c0283a7653987d634e880347e96b5b2ed64de07efb59db9d"
dependencies = [
"proc-macro-crate",
"proc-macro2",
"quote",
"syn",
]
[[package]]
name = "objc"
version = "0.2.7"
@ -4035,15 +3840,6 @@ dependencies = [
"log 0.4.11",
]
[[package]]
name = "proc-macro-crate"
version = "0.1.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "1d6ea3c4595b96363c13943497db34af4460fb474a95c43f4446ad341b8c9785"
dependencies = [
"toml",
]
[[package]]
name = "proc-macro-error"
version = "1.0.4"
@ -5691,30 +5487,6 @@ version = "1.12.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "373c8a200f9e67a0c95e62a4f52fbf80c23b4381c05a17845531982fa99e6b33"
[[package]]
name = "typetag"
version = "0.1.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "9275125decb5d75fe57ebfe92debd119b15757aae27c56d7cb61ecab871960bc"
dependencies = [
"erased-serde",
"inventory",
"lazy_static 1.4.0",
"serde 1.0.115",
"typetag-impl",
]
[[package]]
name = "typetag-impl"
version = "0.1.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "dc232cda3b1d82664153e6c95d1071809aa0f1011f306c3d6989f33d8c6ede17"
dependencies = [
"proc-macro2",
"quote",
"syn",
]
[[package]]
name = "ucd-trie"
version = "0.1.3"
@ -5778,15 +5550,6 @@ version = "0.2.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f7fe0bb3479651439c9112f72b6c505038574c9fbb575ed1bf3b797fa39dd564"
[[package]]
name = "unreachable"
version = "1.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "382810877fe448991dfc7f0dd6e3ae5d58088fd0ea5e35189655f84e6814fa56"
dependencies = [
"void",
]
[[package]]
name = "uom"
version = "0.28.0"
@ -6208,12 +5971,6 @@ dependencies = [
"log 0.4.11",
]
[[package]]
name = "xdg"
version = "2.2.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d089681aa106a86fade1b0128fb5daf07d5867a509ab036d99988dec80429a57"
[[package]]
name = "xml-rs"
version = "0.8.3"

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"}