Skip to content

Commit

Permalink
deps: Lift memoffset into a workspace dependency
Browse files Browse the repository at this point in the history
To avoid duplication
  • Loading branch information
theduke committed Nov 2, 2023
1 parent 88d2c82 commit fb4e744
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 13 deletions.
13 changes: 2 additions & 11 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@ version = "4.2.3"
[workspace.dependencies]
webc = { version = "5.5.1", default-features = false, features = ["package"] }
wasmer-toml = "0.8.0"
memoffset = "0.9.0"

[build-dependencies]
test-generator = { path = "tests/lib/test-generator" }
Expand Down
2 changes: 1 addition & 1 deletion lib/types/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ enumset = "1.0"
bytecheck = "0.6.8"

[dev-dependencies]
memoffset = "0.9.0"
memoffset.workspace = true

[features]
default = ["std"]
Expand Down
2 changes: 1 addition & 1 deletion lib/vm/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ rust-version.workspace = true
version.workspace = true

[dependencies]
memoffset.workspace = true
wasmer-types = { path = "../types", version = "=4.2.3" }
libc = { version = "^0.2", default-features = false }
memoffset = "0.9.0"
indexmap = { version = "1.6" }
thiserror = "1.0"
more-asserts = "0.2"
Expand Down

0 comments on commit fb4e744

Please sign in to comment.