Update Rust crate getrandom to 0.3.0 #7
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
0.2.15
->0.3.0
Release Notes
rust-random/getrandom (getrandom)
v0.3.3
Compare Source
Changed
compile_error!
s [#639]v0.3.2
Compare Source
Added
efi_rng
opt-in backend #570linux_raw
opt-in backend #572.cargo/config.toml
example in the crate-level docs #591getrandom_test_linux_without_fallback
configuration flag to test that file fallbackis not triggered in the
linux_android_with_fallback
backend #605*-linux-none
targets #618Changed
wasi
dependency to v0.14 #594#[inline]
attribute to the inner functions #596dlsym
on MUSL targets in thelinux_android_with_fallback
backend #602linux_android.rs
and usegetrandom.rs
instead #603RtlGenRandom
on Windows targets when compiling with pre-1.78 Rust #610Error
type #614windows-targets
dependency and use [raw-dylib
][raw-dylib] directly #627Removed
Error::INTERNAL_START
andError::CUSTOM_START
associated constants #614v0.3.1
Compare Source
Fixed
v0.3.0
Compare Source
Breaking Changes
Changed
getrandom
andgetrandom_uninit
functions tofill
andfill_uninit
respectively #532Removed
wasm32-wasi
target support (usewasm32-wasip1
orwasm32-wasip2
instead) #499linux_disable_fallback
,rdrand
,js
,test-in-browser
, andcustom
crate featuresin favor of configuration flags #504
register_custom_getrandom!
macro #504From<NonZeroU32>
forError
andError::code
method #507Error
constants #562Changed
ProcessPrng
on Windows 10 and up, and useRtlGenRandom
on older Windows versions #415strerror_r
for retrieving error code descriptions #440usize
is the native word size in therdrand
backend #442errno
whenlibc
did not indicate error on Solaris #448libpthread
's mutex tofutex
on Linux and tonanosleep
-based wait loopon other targets in the
use_file
backend #490EAGAIN
while polling/dev/random
on Linux #522wasm_js
backend(bumps minimum supported Node.js version to v19) #557
js_namespace
in thewasm_js
backend #559Added
wasm32-wasip1
andwasm32-wasip2
support #499getrandom_backend
configuration flag for selection of opt-in backends #504Error::new_custom
method #507rndr
opt-in backend #512u32
andu64
functions for generating random values of the respective type #544wasm32v1-none
support in thewasm_js
backend #560wasm_js
crate feature which allows users to enable thewasm_js
opt-in backend #574Fixed
KERN_ARND
#555v0.2.16
Compare Source
Added
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.