diff --git a/Cargo.lock b/Cargo.lock index 0d03b31c3..cace7826e 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1291,9 +1291,9 @@ dependencies = [ [[package]] name = "getrandom" -version = "0.2.7" +version = "0.2.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4eb1a864a501629691edf6c15a593b7a51eebaa1e8468e9ddc623de7c9b58ec6" +checksum = "c05aeb6a22b8f62540c194aac980f2115af067bfe15a0734d7277a768d396b31" dependencies = [ "cfg-if", "js-sys", diff --git a/crates/fj-viewer/Cargo.toml b/crates/fj-viewer/Cargo.toml index f8439798d..9c18ed9e9 100644 --- a/crates/fj-viewer/Cargo.toml +++ b/crates/fj-viewer/Cargo.toml @@ -28,5 +28,5 @@ features = ["webgl"] # We don't depend on `getrandom` directly, but we need this to enable the `js` # feature when cross-compiling to WASM. Otherwise, `getrandom` will not build. [target.'cfg(target_arch = "wasm32")'.dependencies.getrandom] -version = "0.2.7" +version = "0.2.8" features = ["js"]