Skip to content

Commit

Permalink
refactor: move common deps to the workspace root
Browse files Browse the repository at this point in the history
  • Loading branch information
dnaka91 committed Oct 6, 2023
1 parent 3870a6c commit 584fa3e
Show file tree
Hide file tree
Showing 7 changed files with 22 additions and 15 deletions.
7 changes: 7 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,14 @@ license = "MIT"

[workspace.dependencies]
color-eyre = { version = "0.6.2", default-features = false }
indoc = "2.0.4"
insta = { version = "1.33.0", features = ["glob"] }
miette = "5.10.0"
mimalloc = "0.1.39"
proc-macro2 = { version = "1.0.67", default-features = false }
quote = { version = "1.0.33", default-features = false }
syn = "2.0.38"
thiserror = "1.0.49"

[profile.release]
lto = true
Expand Down
4 changes: 2 additions & 2 deletions crates/stef-benches/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ name = "varint"
harness = false

[dependencies]
mimalloc = "0.1.39"
mimalloc.workspace = true
stef-parser = { path = "../stef-parser" }

[dev-dependencies]
divan = "0.1.0"
indoc = "2.0.4"
indoc.workspace = true
12 changes: 6 additions & 6 deletions crates/stef-build/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,14 @@ license.workspace = true
[dependencies]
miette.workspace = true
prettyplease = "0.2.15"
proc-macro2 = { version = "1.0.67", default-features = false }
quote = { version = "1.0.33", default-features = false }
proc-macro2.workspace = true
quote.workspace = true
stef-parser = { path = "../stef-parser" }
syn = "2.0.38"
thiserror = "1.0.49"
syn.workspace = true
thiserror.workspace = true

[dev-dependencies]
indoc = "2.0.4"
insta = { version = "1.33.0", features = ["glob"] }
indoc.workspace = true
insta.workspace = true
pretty_assertions = "1.4.0"
stef = { path = "../stef" }
2 changes: 1 addition & 1 deletion crates/stef-cli/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@ license.workspace = true
clap = { version = "4.4.6", features = ["derive", "wrap_help"] }
color-eyre.workspace = true
miette = { workspace = true, features = ["fancy-no-backtrace"] }
mimalloc = "0.1.39"
mimalloc.workspace = true
stef-parser = { path = "../stef-parser" }
6 changes: 3 additions & 3 deletions crates/stef-derive/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@ license.workspace = true
proc-macro = true

[dependencies]
proc-macro2 = "1.0.67"
quote = "1.0.33"
syn = "2.0.38"
proc-macro2.workspace = true
quote.workspace = true
syn.workspace = true
4 changes: 2 additions & 2 deletions crates/stef-parser/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ stef-derive = { path = "../stef-derive" }
winnow = "0.5.16"

[dev-dependencies]
indoc = "2.0.4"
insta = { version = "1.33.0", features = ["glob"] }
indoc.workspace = true
insta.workspace = true
miette = { workspace = true, features = ["fancy-no-backtrace"] }

[features]
Expand Down
2 changes: 1 addition & 1 deletion crates/stef/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ license.workspace = true
[dependencies]
bytes = "1.5.0"
paste = "1.0.14"
thiserror = "1.0.49"
thiserror.workspace = true

0 comments on commit 584fa3e

Please sign in to comment.