-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make all dependencies workspace dependencies (#9333)
## Summary This PR modifies our `Cargo.toml` files to use workspace dependencies for _all_ dependencies, rather than the status quo of sporadically trying to use workspace dependencies for those dependencies that are used across multiple crates. I find the current situation more confusing and harder to manage, since we have a mix of workspace and crate-local dependencies, whereas this setup consistently uses the same approach for all dependencies.
- Loading branch information
1 parent
0157cdb
commit 9073220
Showing
20 changed files
with
148 additions
and
93 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,48 +12,103 @@ authors = ["Charlie Marsh <[email protected]>"] | |
license = "MIT" | ||
|
||
[workspace.dependencies] | ||
aho-corasick = { version = "1.1.2" } | ||
annotate-snippets = { version = "0.9.2", features = ["color"] } | ||
anyhow = { version = "1.0.76" } | ||
argfile = { version = "0.1.6" } | ||
assert_cmd = { version = "2.0.8" } | ||
bincode = { version = "1.3.3" } | ||
bitflags = { version = "2.4.1" } | ||
cachedir = { version = "0.3.1" } | ||
chrono = { version = "0.4.31", default-features = false, features = ["clock"] } | ||
clap = { version = "4.4.12", features = ["derive"] } | ||
clap_complete_command = { version = "0.5.1" } | ||
clearscreen = { version = "2.0.0" } | ||
codspeed-criterion-compat = { version = "2.3.3", default-features = false } | ||
colored = { version = "2.1.0" } | ||
configparser = { version = "3.0.3" } | ||
console_error_panic_hook = { version = "0.1.7" } | ||
console_log = { version = "1.0.0" } | ||
countme = { version ="3.0.1"} | ||
criterion = { version = "0.5.1", default-features = false } | ||
dirs = { version = "5.0.0" } | ||
drop_bomb = { version = "0.1.5" } | ||
env_logger = { version ="0.10.1"} | ||
fern = { version = "0.6.1" } | ||
filetime = { version = "0.2.23" } | ||
fs-err = { version ="2.11.0"} | ||
glob = { version = "0.3.1" } | ||
globset = { version = "0.4.14" } | ||
hexf-parse = { version ="0.2.1"} | ||
ignore = { version = "0.4.21" } | ||
imara-diff ={ version = "0.1.5"} | ||
imperative = { version = "1.0.4" } | ||
indicatif ={ version = "0.17.7"} | ||
indoc ={ version = "2.0.4"} | ||
insta = { version = "1.34.0", feature = ["filters", "glob"] } | ||
insta-cmd = { version = "0.4.0" } | ||
is-macro = { version = "0.3.4" } | ||
is-wsl = { version = "0.4.0" } | ||
itertools = { version = "0.11.0" } | ||
itertools = { version = "0.12.0" } | ||
js-sys = { version = "0.3.66" } | ||
lalrpop-util = { version = "0.20.0", default-features = false } | ||
lexical-parse-float = { version = "0.8.0", features = ["format"] } | ||
libcst = { version = "1.1.0", default-features = false } | ||
log = { version = "0.4.17" } | ||
memchr = { version = "2.6.4" } | ||
mimalloc = { version ="0.1.39"} | ||
natord = { version = "1.0.9" } | ||
notify = { version = "6.1.1" } | ||
once_cell = { version = "1.19.0" } | ||
path-absolutize = { version = "3.1.1" } | ||
pathdiff = { version = "0.2.1" } | ||
pep440_rs = { version = "0.4.0", features = ["serde"] } | ||
pretty_assertions = "1.3.0" | ||
proc-macro2 = { version = "1.0.73" } | ||
pyproject-toml = { version = "0.8.1" } | ||
quick-junit = { version = "0.3.5" } | ||
quote = { version = "1.0.23" } | ||
rand = { version = "0.8.5" } | ||
rayon = { version = "1.8.0" } | ||
regex = { version = "1.10.2" } | ||
result-like = { version = "0.5.0" } | ||
rustc-hash = { version = "1.1.0" } | ||
schemars = { version = "0.8.16" } | ||
seahash = { version ="4.1.0"} | ||
semver = { version = "1.0.20" } | ||
serde = { version = "1.0.193", features = ["derive"] } | ||
serde-wasm-bindgen = { version = "0.6.3" } | ||
serde_json = { version = "1.0.109" } | ||
serde_test = { version = "1.0.152" } | ||
serde_with = { version = "3.4.0", default-features = false, features = ["macros"] } | ||
shellexpand = { version = "3.0.0" } | ||
shlex = { version ="1.2.0"} | ||
similar = { version = "2.3.0", features = ["inline"] } | ||
smallvec = { version = "1.11.2" } | ||
static_assertions = "1.1.0" | ||
strum = { version = "0.25.0", features = ["strum_macros"] } | ||
strum_macros = { version = "0.25.3" } | ||
syn = { version = "2.0.40" } | ||
tempfile = { version ="3.8.1"} | ||
test-case = { version = "3.3.1" } | ||
thiserror = { version = "1.0.51" } | ||
tikv-jemallocator = { version ="0.5.0"} | ||
toml = { version = "0.8.8" } | ||
tracing = { version = "0.1.40" } | ||
tracing-indicatif = { version = "0.3.6" } | ||
tracing-subscriber = { version = "0.3.18", features = ["env-filter"] } | ||
typed-arena = { version = "2.0.2" } | ||
unic-ucd-category = { version ="0.9"} | ||
unicode-ident = { version = "1.0.12" } | ||
unicode_names2 = { version = "1.2.1" } | ||
unicode-width = { version = "0.1.11" } | ||
unicode_names2 = { version = "1.2.1" } | ||
ureq = { version = "2.9.1" } | ||
url = { version = "2.5.0" } | ||
uuid = { version = "1.6.1", features = ["v4", "fast-rng", "macro-diagnostics", "js"] } | ||
walkdir = { version = "2.3.2" } | ||
wasm-bindgen = { version = "0.2.84" } | ||
wasm-bindgen-test = { version = "0.3.39" } | ||
wild = { version = "2" } | ||
|
||
[workspace.lints.rust] | ||
unsafe_code = "warn" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.