1.13.0
⚠️ Potential Breakage
This release updates our version of getrandom
to 0.3
and rand
to 0.9
. It is a potentially breaking change for the following users:
no-std users who enable the rng
feature
uuid
still uses getrandom
by default on these platforms. Upgrade your version of getrandom
and follow its new docs on configuring a custom backend.
wasm32-unknown-unknown
users who enable the rng
feature without the js
feature
Upgrade your version of getrandom
and follow its new docs on configuring a backend.
You'll also need to enable the rng-getrandom
or rng-rand
feature of uuid
to force it to use getrandom
as its backend:
[dependencies.uuid]
version = "1.13.0"
- features = ["v4"]
+ features = ["v4", "rng-getrandom"]
[dependencies.getrandom]
version = "0.3"
If you're on wasm32-unknown-unknown
and using the js
feature of uuid
you shouldn't see any breakage. We've kept this behavior by vendoring in getrandom
's web-based backend when the js
feature is enabled.
What's Changed
- Update
getrandom
to0.3
andrand
to0.9
by @KodrAus in #793 - Support forcing
getrandom
onwasm32-unknown-unknown
without JavaScript by @KodrAus in #794 - Prepare for 1.13.0 release by @KodrAus in #795
Full Changelog: 1.12.1...1.13.0