From b1ef1b811f08fc636ddf50b0781fa0d79a9fb6a0 Mon Sep 17 00:00:00 2001 From: "M.Amin Rayej" Date: Fri, 10 May 2024 19:14:37 +0330 Subject: [PATCH 1/2] crates.io does not allow star dependency --- lib/types/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/types/Cargo.toml b/lib/types/Cargo.toml index ca453521c37..2e0880e40ee 100644 --- a/lib/types/Cargo.toml +++ b/lib/types/Cargo.toml @@ -31,7 +31,7 @@ hex = { version = "^0.4" } # `rand` uses `getrandom` transitively, and to be able to # compile the project for `js`, we need to enable this feature [dependencies.getrandom] -version = "*" +version = "0.2.15" features = ["js"] [dev-dependencies] From a71120cbbf4231df7fc4122303cb7ec972f22c35 Mon Sep 17 00:00:00 2001 From: "M.Amin Rayej" Date: Fri, 10 May 2024 19:34:50 +0330 Subject: [PATCH 2/2] add version --- tests/lib/wast/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/lib/wast/Cargo.toml b/tests/lib/wast/Cargo.toml index 9fb8ce71a64..d37d213fc4c 100644 --- a/tests/lib/wast/Cargo.toml +++ b/tests/lib/wast/Cargo.toml @@ -11,7 +11,7 @@ readme = "README.md" edition = "2018" [dependencies] -wasmer-types = { path = "../../../lib/types" } +wasmer-types = { path = "../../../lib/types", version="=4.3.0" } wasmer-wasix = { path = "../../../lib/wasix", version="=0.20.0" } wasmer = { path = "../../../lib/api", version = "=4.3.0", default-features = false } virtual-fs = { path = "../../../lib/virtual-fs", version = "0.11.4" }