Skip to content

Commit

Permalink
Tidy up some more deps with workspace dependencies (bytecodealliance#…
Browse files Browse the repository at this point in the history
…4965)

I missed these in bytecodealliance#4905 and noticed just now but wanted to handle them
to ensure we uniformly handle deps in the workspace.
  • Loading branch information
alexcrichton authored Sep 27, 2022
1 parent 8499420 commit ee2ef5b
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion cranelift/bforest/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ keywords = ["btree", "forest", "set", "map"]
edition.workspace = true

[dependencies]
cranelift-entity = { path = "../entity", version = "0.89.0", default-features = false }
cranelift-entity = { workspace = true }

[badges]
maintenance = { status = "experimental" }
8 changes: 4 additions & 4 deletions cranelift/egraph/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ repository = "https://github.com/bytecodealliance/wasmtime"
edition = "2021"

[dependencies]
cranelift-entity = { path = "../entity", version = "0.89.0" }
log = { version = "0.4.6", default-features = false }
smallvec = { version = "1.6.1", features = ["union"] }
cranelift-entity = { workspace = true }
log = { workspace = true }
smallvec = { workspace = true }
indexmap = { version = "1.9.1" }
hashbrown = { version = "0.12.2", features = ["raw"] }
fxhash = "0.2.1"
Expand All @@ -21,4 +21,4 @@ default = []

# Enable detailed trace-level debug logging. Excluded by default to
# omit the dynamic overhead of checking the logging level.
trace-log = []
trace-log = []
2 changes: 1 addition & 1 deletion cranelift/preopt/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ keywords = ["optimize", "compile", "compiler", "jit"]
edition.workspace = true

[dependencies]
cranelift-codegen = { path = "../codegen", version = "0.89.0", default-features = false }
cranelift-codegen = { workspace = true }
# This is commented out because it doesn't build on Rust 1.25.0, which
# cranelift currently supports.
# rustc_apfloat = { version = "0.1.2", default-features = false }
Expand Down
4 changes: 2 additions & 2 deletions cranelift/umbrella/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ keywords = ["compile", "compiler", "jit"]
edition.workspace = true

[dependencies]
cranelift-codegen = { path = "../codegen", version = "0.89.0", default-features = false }
cranelift-frontend = { path = "../frontend", version = "0.89.0", default-features = false }
cranelift-codegen = { workspace = true }
cranelift-frontend = { workspace = true }

[features]
default = ["std"]
Expand Down
2 changes: 1 addition & 1 deletion cranelift/wasm/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ hashbrown = { workspace = true, optional = true }
itertools = "0.10.0"
log = { workspace = true }
serde = { version = "1.0.94", features = ["derive"], optional = true }
smallvec = { version = "1.6.1", features = ["union"] }
smallvec = { workspace = true }

[dev-dependencies]
wat = { workspace = true }
Expand Down

0 comments on commit ee2ef5b

Please sign in to comment.