Move nu-test-support into dev deps on nu-command (#6940)

This reduces the number of dependencies to build for `cargo build` or
`cargo run` by around 19.

Will not speed up CI as we need to `cargo test` but should help for
`cargo install` or users just building from source.
Time saved on my machine ~0.8 secs so likely unnoticable in noise.

Larger future goal is reducing longer dependency chains to allow more
parallel compilation.
This commit is contained in:
Stefan Holderbach 2022-10-29 19:39:27 +02:00 committed by GitHub
parent acb7aff6fb
commit 7039602e4d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -22,7 +22,6 @@ nu-protocol = { path = "../nu-protocol", version = "0.70.1" }
nu-system = { path = "../nu-system", version = "0.70.1" }
nu-table = { path = "../nu-table", version = "0.70.1" }
nu-term-grid = { path = "../nu-term-grid", version = "0.70.1" }
nu-test-support = { path = "../nu-test-support", version = "0.70.1" }
nu-utils = { path = "../nu-utils", version = "0.70.1" }
nu-ansi-term = "0.46.0"
num-format = { version = "0.4.3" }
@ -154,6 +153,8 @@ database = ["sqlparser", "rusqlite"]
shadow-rs = { version = "0.16.1", default-features = false }
[dev-dependencies]
nu-test-support = { path = "../nu-test-support", version = "0.70.1" }
hamcrest2 = "0.3.0"
dirs-next = "2.0.0"
proptest = "1.0.0"