mirror of
https://github.com/nushell/nushell.git
synced 2025-08-09 02:55:07 +02:00
Introduce workspace dependencies (#12043)
# Description This PR introduces [workspaces dependencies](https://doc.rust-lang.org/cargo/reference/workspaces.html#the-dependencies-table). The advantages are: - a single place where dependency versions are declared - reduces the number of files to change when upgrading a dependency - reduces the risk of accidentally depending on 2 different versions of the same dependency I've only done a few so far. If this PR is accepted, I might continue and progressively do the rest. # User-Facing Changes N/A # Tests + Formatting - 🟢 `toolkit fmt` - 🟢 `toolkit clippy` - 🟢 `toolkit test` - 🟢 `toolkit test stdlib` # After Submitting N/A
This commit is contained in:
@ -18,15 +18,15 @@ nu-path = { path = "../nu-path", version = "0.91.1" }
|
||||
nu-system = { path = "../nu-system", version = "0.91.1" }
|
||||
|
||||
byte-unit = { version = "5.1", features = [ "serde" ] }
|
||||
chrono = { version = "0.4.34", features = [ "serde", "std", "unstable-locales" ], default-features = false }
|
||||
chrono = { workspace = true, features = [ "serde", "std", "unstable-locales" ], default-features = false }
|
||||
chrono-humanize = "0.2"
|
||||
fancy-regex = "0.13"
|
||||
fancy-regex = { workspace = true }
|
||||
indexmap = "2.2"
|
||||
lru = "0.12"
|
||||
miette = { version = "7.1", features = ["fancy-no-backtrace"] }
|
||||
miette = { workspace = true, features = ["fancy-no-backtrace"] }
|
||||
num-format = "0.4"
|
||||
serde = { version = "1.0", default-features = false }
|
||||
serde_json = { version = "1.0", optional = true }
|
||||
serde_json = { workspace = true, optional = true }
|
||||
thiserror = "1.0"
|
||||
typetag = "0.2"
|
||||
|
||||
@ -34,11 +34,11 @@ typetag = "0.2"
|
||||
plugin = ["serde_json"]
|
||||
|
||||
[dev-dependencies]
|
||||
serde_json = "1.0"
|
||||
serde_json = { workspace = true }
|
||||
strum = "0.25"
|
||||
strum_macros = "0.26"
|
||||
nu-test-support = { path = "../nu-test-support", version = "0.91.1" }
|
||||
rstest = "0.18"
|
||||
rstest = { workspace = true }
|
||||
|
||||
[package.metadata.docs.rs]
|
||||
all-features = true
|
||||
|
Reference in New Issue
Block a user