diff --git a/Cargo.lock b/Cargo.lock index 8e05b6a767c..232d8b6eff6 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2281,7 +2281,6 @@ dependencies = [ "build-data", "console_error_panic_hook", "fm", - "getrandom", "gloo-utils", "log", "nargo", @@ -2316,7 +2315,6 @@ dependencies = [ "acvm", "build-data", "console_error_panic_hook", - "getrandom", "gloo-utils", "iter-extended", "js-sys", diff --git a/compiler/wasm/Cargo.toml b/compiler/wasm/Cargo.toml index 4514a6eaf0d..4fee0053296 100644 --- a/compiler/wasm/Cargo.toml +++ b/compiler/wasm/Cargo.toml @@ -26,9 +26,5 @@ 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"] } - [build-dependencies] build-data = "0.1.3" diff --git a/compiler/wasm/src/lib.rs b/compiler/wasm/src/lib.rs index b4e18d3cece..2a659b94965 100644 --- a/compiler/wasm/src/lib.rs +++ b/compiler/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; diff --git a/deny.toml b/deny.toml index 8d6d609bff8..f29dc95a9d7 100644 --- a/deny.toml +++ b/deny.toml @@ -15,7 +15,7 @@ notice = "warn" # Lint level for when multiple versions of the same crate are detected multiple-versions = "warn" # Lint level for when a crate version requirement is `*` -wildcards = "allow" +wildcards = "warn" highlight = "all" # List of crates to deny deny = [ @@ -97,4 +97,4 @@ unknown-registry = "warn" unknown-git = "deny" allow-git = [ "https://github.com/jfecher/chumsky" -] \ No newline at end of file +] diff --git a/tooling/noirc_abi_wasm/Cargo.toml b/tooling/noirc_abi_wasm/Cargo.toml index 3383d3f21e8..0a40dc157d2 100644 --- a/tooling/noirc_abi_wasm/Cargo.toml +++ b/tooling/noirc_abi_wasm/Cargo.toml @@ -23,10 +23,6 @@ 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"] } - [build-dependencies] build-data = "0.1.3" diff --git a/tooling/noirc_abi_wasm/src/lib.rs b/tooling/noirc_abi_wasm/src/lib.rs index 91ed724a101..ca44343f67c 100644 --- a/tooling/noirc_abi_wasm/src/lib.rs +++ b/tooling/noirc_abi_wasm/src/lib.rs @@ -2,9 +2,6 @@ #![warn(unreachable_pub)] #![warn(clippy::semicolon_if_nothing_returned)] -// See Cargo.toml for explanation. -use getrandom as _; - use acvm::acir::native_types::WitnessMap; use iter_extended::try_btree_map; use noirc_abi::{errors::InputParserError, input_parser::InputValue, Abi, MAIN_RETURN_NAME};