forked from extern/nushell
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,13 +18,13 @@ nu-plugin = { path = "../nu-plugin", optional = true, version = "0.91.1" }
|
||||
nu-protocol = { path = "../nu-protocol", version = "0.91.1" }
|
||||
|
||||
bytesize = "1.3"
|
||||
chrono = { default-features = false, features = ['std'], version = "0.4" }
|
||||
chrono = { default-features = false, features = ['std'], workspace = true }
|
||||
itertools = "0.12"
|
||||
log = "0.4"
|
||||
serde_json = "1.0"
|
||||
log = { workspace = true }
|
||||
serde_json = { workspace = true }
|
||||
|
||||
[dev-dependencies]
|
||||
rstest = { version = "0.18", default-features = false }
|
||||
rstest = { workspace = true, default-features = false }
|
||||
|
||||
[features]
|
||||
plugin = ["nu-plugin"]
|
||||
|
Reference in New Issue
Block a user