Skip to content

Commit a9791d3

Browse files
chore(deps): update getrandom requirement from 0.3 to 0.4 (#1017)
Updates the requirements on [getrandom](https://github.com/rust-random/getrandom) to permit the latest version. <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/rust-random/getrandom/blob/master/CHANGELOG.md">getrandom's changelog</a>.</em></p> <blockquote> <h2><a href="https://github.com/rust-random/getrandom/compare/v0.4.1...v0.4.2">0.4.2</a> - 2026-03-03</h2> <h3>Changed</h3> <ul> <li>Bump <code>r-efi</code> dependency to v6 <a href="https://redirect.github.com/rust-random/getrandom/issues/814">#814</a></li> </ul> <h3>Fixed</h3> <ul> <li>Read <code>errno</code> only when it is set <a href="https://redirect.github.com/rust-random/getrandom/issues/810">#810</a></li> <li>Check the return value of <code>ProcessPrng</code> on Windows <a href="https://redirect.github.com/rust-random/getrandom/issues/811">#811</a></li> </ul> <p><a href="https://redirect.github.com/rust-random/getrandom/issues/810">#810</a>: <a href="https://redirect.github.com/rust-random/getrandom/pull/810">rust-random/getrandom#810</a> <a href="https://redirect.github.com/rust-random/getrandom/issues/811">#811</a>: <a href="https://redirect.github.com/rust-random/getrandom/pull/811">rust-random/getrandom#811</a> <a href="https://redirect.github.com/rust-random/getrandom/issues/814">#814</a>: <a href="https://redirect.github.com/rust-random/getrandom/pull/814">rust-random/getrandom#814</a></p> <h2><a href="https://github.com/rust-random/getrandom/compare/v0.4.0...v0.4.1">0.4.1</a> - 2026-02-03</h2> <h3>Fixed</h3> <ul> <li>Documentation build on docs.rs <a href="https://redirect.github.com/rust-random/getrandom/issues/801">#801</a></li> </ul> <p><a href="https://redirect.github.com/rust-random/getrandom/issues/801">#801</a>: <a href="https://redirect.github.com/rust-random/getrandom/pull/801">rust-random/getrandom#801</a></p> <h2><a href="https://github.com/rust-random/getrandom/compare/v0.3.4...v0.4.0">0.4.0</a> - 2026-02-02</h2> <h3>Added</h3> <ul> <li><code>RawOsError</code> type alias <a href="https://redirect.github.com/rust-random/getrandom/issues/739">#739</a></li> <li><code>SysRng</code> behind new feature <code>sys_rng</code> <a href="https://redirect.github.com/rust-random/getrandom/issues/751">#751</a></li> <li>WASIp3 support <a href="https://redirect.github.com/rust-random/getrandom/issues/779">#779</a></li> <li><code>extern_impl</code> opt-in backend <a href="https://redirect.github.com/rust-random/getrandom/issues/786">#786</a> <a href="https://redirect.github.com/rust-random/getrandom/issues/794">#794</a></li> <li>Motor OS support <a href="https://redirect.github.com/rust-random/getrandom/issues/797">#797</a></li> </ul> <h3>Changed</h3> <ul> <li>Use Edition 2024 and MSRV 1.85 <a href="https://redirect.github.com/rust-random/getrandom/issues/749">#749</a></li> </ul> <p><a href="https://redirect.github.com/rust-random/getrandom/issues/739">#739</a>: <a href="https://redirect.github.com/rust-random/getrandom/pull/739">rust-random/getrandom#739</a> <a href="https://redirect.github.com/rust-random/getrandom/issues/749">#749</a>: <a href="https://redirect.github.com/rust-random/getrandom/pull/749">rust-random/getrandom#749</a> <a href="https://redirect.github.com/rust-random/getrandom/issues/751">#751</a>: <a href="https://redirect.github.com/rust-random/getrandom/pull/751">rust-random/getrandom#751</a> <a href="https://redirect.github.com/rust-random/getrandom/issues/779">#779</a>: <a href="https://redirect.github.com/rust-random/getrandom/pull/779">rust-random/getrandom#779</a> <a href="https://redirect.github.com/rust-random/getrandom/issues/786">#786</a>: <a href="https://redirect.github.com/rust-random/getrandom/pull/786">rust-random/getrandom#786</a> <a href="https://redirect.github.com/rust-random/getrandom/issues/794">#794</a>: <a href="https://redirect.github.com/rust-random/getrandom/pull/794">rust-random/getrandom#794</a> <a href="https://redirect.github.com/rust-random/getrandom/issues/797">#797</a>: <a href="https://redirect.github.com/rust-random/getrandom/pull/797">rust-random/getrandom#797</a></p> <h2>[0.3.4] - 2025-10-14</h2> <h3>Major change to <code>wasm_js</code> backend</h3> <p>Now, when the <code>wasm_js</code> feature is enabled, the <code>wasm_js</code> backend will be used by default. Users of <code>wasm32-unknown-unknown</code> targeting JavaScript environments like the Web and Node.js will no longer need to specify:</p> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li>See full diff in <a href="https://github.com/rust-random/getrandom/commits/v0.4.2">compare view</a></li> </ul> </details> <br /> --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Pete Gadomski <pete.gadomski@gmail.com>
1 parent 2e75a35 commit a9791d3

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

crates/wasm/.cargo/config.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
[target.wasm32-unknown-unknown]
2+
rustflags = ['--cfg', 'getrandom_backend="wasm_js"']

crates/wasm/Cargo.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,8 @@ console_error_panic_hook = { version = "0.1.6", optional = true }
2222
arrow-array.workspace = true
2323
arrow-schema.workspace = true
2424
arrow-wasm = { git = "https://github.com/kylebarron/arrow-wasm", rev = "4da0aa2b45c7ffd8c7e7449274a4b6d84f10cf94" }
25-
getrandom = { version = "0.3", features = ["wasm_js"] }
25+
getrandom = { version = "0.4", features = ["wasm_js"] }
26+
getrandom_03 = { package = "getrandom", version = "0.3", features = ["wasm_js"] }
2627
serde.workspace = true
2728
serde-wasm-bindgen = "0.6.5"
2829
stac = { version = "0.17.0", path = "../core", features = ["geoparquet"] }

0 commit comments

Comments
 (0)