diff --git a/Cargo.lock b/Cargo.lock index 6d46eb1dcc..cda955f3a6 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -380,12 +380,6 @@ version = "3.11.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c1ad822118d20d2c234f427000d5acc36eabe1e29a348c89b63dd60b13f28e5d" -[[package]] -name = "byte-order" -version = "0.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b021a13e4bf34a5679ada4609a01337ae82f2c4c97493b9d8cbf8aa9af9bd0f4" - [[package]] name = "byte-unit" version = "4.0.14" @@ -2747,13 +2741,11 @@ name = "nu-plugin" version = "0.70.1" dependencies = [ "bincode", - "byte-order", "criterion", "nu-engine", "nu-protocol", "rmp", "rmp-serde", - "rmpv", "serde", "serde_json", ] @@ -2778,7 +2770,6 @@ dependencies = [ "indexmap", "miette", "nu-json", - "nu-path", "nu-utils", "num-format", "serde", @@ -2837,7 +2828,6 @@ dependencies = [ "nu-glob", "nu-path", "nu-utils", - "num-bigint 0.4.3", "num-format", "tempfile", ] @@ -2950,7 +2940,6 @@ dependencies = [ "autocfg", "num-integer", "num-traits", - "serde", ] [[package]] @@ -4134,16 +4123,6 @@ dependencies = [ "serde", ] -[[package]] -name = "rmpv" -version = "1.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "de8813b3a2f95c5138fe5925bfb8784175d88d6bff059ba8ce090aa891319754" -dependencies = [ - "num-traits", - "rmp", -] - [[package]] name = "roxmltree" version = "0.14.1" diff --git a/crates/nu-path/Cargo.toml b/crates/nu-path/Cargo.toml index f38db741bb..ddab4c9f56 100644 --- a/crates/nu-path/Cargo.toml +++ b/crates/nu-path/Cargo.toml @@ -9,6 +9,8 @@ version = "0.70.1" [dependencies] dirs-next = "2.0.0" + +[target.'cfg(windows)'.dependencies] omnipath = "0.1.1" [target.'cfg(all(unix, not(target_os = "macos")))'.dependencies] diff --git a/crates/nu-plugin/Cargo.toml b/crates/nu-plugin/Cargo.toml index 41c79bddae..48a5fae7b9 100644 --- a/crates/nu-plugin/Cargo.toml +++ b/crates/nu-plugin/Cargo.toml @@ -13,10 +13,8 @@ nu-protocol = { path = "../nu-protocol", version = "0.70.1" } nu-engine = { path = "../nu-engine", version = "0.70.1" } serde = {version = "1.0.143", features = ["derive"]} serde_json = { version = "1.0"} -byte-order = "0.3.0" rmp = "0.8.11" rmp-serde = "1.1.0" -rmpv = "1.0.0" [dev-dependencies] criterion = "0.3" diff --git a/crates/nu-pretty-hex/Cargo.toml b/crates/nu-pretty-hex/Cargo.toml index e699c26b6a..93dc0843eb 100644 --- a/crates/nu-pretty-hex/Cargo.toml +++ b/crates/nu-pretty-hex/Cargo.toml @@ -12,17 +12,10 @@ doctest = false name = "nu_pretty_hex" path = "src/lib.rs" -[[bin]] -name = "nu_pretty_hex" -path = "src/main.rs" - [dependencies] nu-ansi-term = "0.46.0" -rand = "0.8.3" [dev-dependencies] heapless = { version = "0.7.8", default-features = false } +rand = "0.8.3" -# [features] -# default = ["alloc"] -# alloc = [] diff --git a/crates/nu-pretty-hex/src/main.rs b/crates/nu-pretty-hex/examples/demo.rs similarity index 100% rename from crates/nu-pretty-hex/src/main.rs rename to crates/nu-pretty-hex/examples/demo.rs diff --git a/crates/nu-protocol/Cargo.toml b/crates/nu-protocol/Cargo.toml index ad20e8a47d..70f01101bb 100644 --- a/crates/nu-protocol/Cargo.toml +++ b/crates/nu-protocol/Cargo.toml @@ -11,7 +11,6 @@ version = "0.70.1" [dependencies] nu-utils = { path = "../nu-utils", version = "0.70.1" } -nu-path = { path = "../nu-path", version = "0.70.1" } nu-json = { path = "../nu-json", version = "0.70.1" } byte-unit = "4.0.9" diff --git a/crates/nu-test-support/Cargo.toml b/crates/nu-test-support/Cargo.toml index b8311f7224..32009feef7 100644 --- a/crates/nu-test-support/Cargo.toml +++ b/crates/nu-test-support/Cargo.toml @@ -18,6 +18,5 @@ lazy_static = "1.4.0" num-format = "0.4.3" getset = "0.1.1" -num-bigint = { version="0.4.3", features=["serde"] } tempfile = "3.2.0" hamcrest2 = "0.3.0"