From f3b28c06543df0ecec93c5d8a344cd27fd934891 Mon Sep 17 00:00:00 2001 From: Tom French Date: Tue, 15 Aug 2023 14:29:02 +0100 Subject: [PATCH] chore: Cargo.toml tweaks --- crates/noirc_abi_wasm/Cargo.toml | 3 ++- crates/wasm/Cargo.toml | 7 ++++--- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/crates/noirc_abi_wasm/Cargo.toml b/crates/noirc_abi_wasm/Cargo.toml index d1224c3cb4c..98996b1dd7b 100644 --- a/crates/noirc_abi_wasm/Cargo.toml +++ b/crates/noirc_abi_wasm/Cargo.toml @@ -17,10 +17,11 @@ iter-extended.workspace = true wasm-bindgen.workspace = true serde.workspace = true -js-sys = "0.3.62" console_error_panic_hook = "0.1.7" gloo-utils = { version = "0.1", features = ["serde"] } +js-sys = "0.3.62" + # This is an unused dependency, we are adding it # so that we can enable the js feature in getrandom. getrandom = { version = "*", features = ["js"] } diff --git a/crates/wasm/Cargo.toml b/crates/wasm/Cargo.toml index 2b834318168..efc50ef0476 100644 --- a/crates/wasm/Cargo.toml +++ b/crates/wasm/Cargo.toml @@ -11,18 +11,19 @@ edition.workspace = true crate-type = ["cdylib"] [dependencies] - acvm.workspace = true fm.workspace = true noirc_driver.workspace = true noirc_frontend.workspace = true wasm-bindgen.workspace = true serde.workspace = true -log = "0.4.17" -wasm-logger = "0.2.0" + console_error_panic_hook = "0.1.7" gloo-utils = { version = "0.1", features = ["serde"] } +log = "0.4.17" +wasm-logger = "0.2.0" + # This is an unused dependency, we are adding it # so that we can enable the js feature in getrandom. getrandom = { version = "*", features = ["js"] }