diff --git a/lib/codegen/Cargo.toml b/lib/codegen/Cargo.toml index 63a1566007..d362e0ee4e 100644 --- a/lib/codegen/Cargo.toml +++ b/lib/codegen/Cargo.toml @@ -11,7 +11,7 @@ keywords = ["compile", "compiler", "jit"] build = "build.rs" [dependencies] -cretonne-entity = { path = "../entity", version = "0.5.0" } +cretonne-entity = { path = "../entity", version = "0.5.0", default-features = false } # It is a goal of the cretonne-codegen crate to have minimal external dependencies. # Please don't add any unless they are essential to the task of creating binary # machine code. Integration tests that need external dependencies can be diff --git a/lib/wasm/Cargo.toml b/lib/wasm/Cargo.toml index dd053698f0..ddf76afaf5 100644 --- a/lib/wasm/Cargo.toml +++ b/lib/wasm/Cargo.toml @@ -9,7 +9,7 @@ readme = "README.md" keywords = ["webassembly", "wasm"] [dependencies] -wasmparser = "0.15.1" +wasmparser = { git = "https://github.com/yurydelendik/wasmparser.rs", default_features = false } cretonne-codegen = { path = "../codegen", version = "0.5.0", default_features = false } cretonne-frontend = { path = "../frontend", version = "0.5.0", default_features = false } @@ -22,8 +22,8 @@ tempdir = "0.3.5" [features] default = ["std"] -std = ["cretonne-codegen/std", "cretonne-frontend/std"] -core = ["hashmap_core", "cretonne-codegen/core", "cretonne-frontend/core"] +std = ["cretonne-codegen/std", "cretonne-frontend/std", "wasmparser/std"] +core = ["hashmap_core", "cretonne-codegen/core", "cretonne-frontend/core", "wasmparser/core"] [badges] maintenance = { status = "experimental" }