Skip to content

Commit fd4430b

Browse files
authored
chore: allow getrandom 0.4.x (#391)
We're compatible with both versions.
1 parent 8e5ba93 commit fd4430b

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,9 @@ jobs:
9696
- name: Downgrading windows-sys
9797
if: matrix.rust-version == 1.63
9898
run: cargo update -p windows-sys --precise 0.60.2
99+
- name: Downgrading getrandom
100+
if: matrix.rust-version == 1.63
101+
run: cargo update -p getrandom --precise 0.3.4
99102
- name: Install Wasmtime
100103
if: ${{ startsWith(matrix.platform.target, 'wasm32-wasi') }}
101104
run: curl https://wasmtime.dev/install.sh -sSf | bash

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ fastrand = "2.1.1"
2424
once_cell = { version = "1.19.0", default-features = false, features = ["std"] }
2525

2626
[target.'cfg(any(unix, windows, target_os = "wasi"))'.dependencies]
27-
getrandom = { version = "0.3.0", default-features = false, optional = true }
27+
getrandom = { version = ">=0.3.0, <0.5", default-features = false, optional = true }
2828

2929
[target.'cfg(any(unix, target_os = "wasi"))'.dependencies]
3030
rustix = { version = "1.1.3", features = ["fs"] }

0 commit comments

Comments
 (0)