diff --git a/Cargo.lock b/Cargo.lock index 37d566404fa..71ea139ea79 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1350,10 +1350,8 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c85e1d9ab2eadba7e5040d4e09cbd6d072b76a557ad64e797c2cb9d4da21d7e4" dependencies = [ "cfg-if", - "js-sys", "libc", "wasi 0.11.0+wasi-snapshot-preview1", - "wasm-bindgen", ] [[package]] @@ -2017,7 +2015,6 @@ dependencies = [ "acvm", "build-data", "console_error_panic_hook", - "getrandom", "gloo-utils", "log", "noirc_driver", diff --git a/crates/wasm/Cargo.toml b/crates/wasm/Cargo.toml index 5c139d96164..bbcabe12e0a 100644 --- a/crates/wasm/Cargo.toml +++ b/crates/wasm/Cargo.toml @@ -22,9 +22,5 @@ wasm-logger = "0.2.0" console_error_panic_hook = "0.1.7" gloo-utils = { version = "0.1", features = ["serde"] } -# This is an unused dependency, we are adding it -# so that we can enable the js feature in getrandom. -getrandom = { version = "*", features = ["js"] } - [build-dependencies] -build-data = "0.1.3" \ No newline at end of file +build-data = "0.1.3" diff --git a/crates/wasm/src/lib.rs b/crates/wasm/src/lib.rs index b4e18d3cece..2a659b94965 100644 --- a/crates/wasm/src/lib.rs +++ b/crates/wasm/src/lib.rs @@ -9,13 +9,6 @@ use serde::{Deserialize, Serialize}; use std::str::FromStr; use wasm_bindgen::prelude::*; -// This dependency is not used. We import it -// to bypass the `unused_crate_dependencies` lint. -// -// It is being imported as we get errors regarding the -// js feature not being enabled. -use getrandom as _; - mod circuit; mod compile;