From 9cefeda1353085a01dbba224fd343822b3eb77d9 Mon Sep 17 00:00:00 2001 From: Diggory Hardy Date: Sun, 1 Feb 2026 09:12:10 +0000 Subject: [PATCH] Prepare v0.4.0 release --- CHANGELOG.md | 2 +- Cargo.lock | 6 +++--- Cargo.toml | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6c36092be..f5588390e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,7 +4,7 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). -## [Unreleased] +## [0.4.0] - 2026-02-02 ### Added - `RawOsError` type alias [#739] diff --git a/Cargo.lock b/Cargo.lock index 30192c34b..2c7e551dc 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -104,7 +104,7 @@ dependencies = [ [[package]] name = "getrandom" -version = "0.4.0-rc.1" +version = "0.4.0" dependencies = [ "cfg-if", "js-sys", @@ -291,9 +291,9 @@ checksum = "69cdb34c158ceb288df11e18b4bd39de994f6657d83847bdffdbd7f346754b0f" [[package]] name = "rand_core" -version = "0.10.0-rc-6" +version = "0.10.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "70765ff7112b0fb2d272d24d9a2f907fc206211304328fe58b2db15a5649ef28" +checksum = "0c8d0fd677905edcbeedbf2edb6494d676f0e98d54d5cf9bda0b061cb8fb8aba" [[package]] name = "rustversion" diff --git a/Cargo.toml b/Cargo.toml index 16bb21410..1747cc03f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "getrandom" -version = "0.4.0-rc.1" +version = "0.4.0" edition = "2024" rust-version = "1.85" # Sync tests.yml and README.md. authors = ["The Rand Project Developers"] @@ -37,7 +37,7 @@ sys_rng = ["dep:rand_core"] [dependencies] cfg-if = "1" -rand_core = { version = "0.10.0-rc-6", optional = true } +rand_core = { version = "0.10.0", optional = true } # getrandom / linux_android_with_fallback [target.'cfg(all(any(target_os = "linux", target_os = "android"), not(any(all(target_os = "linux", target_env = ""), getrandom_backend = "custom", getrandom_backend = "linux_raw", getrandom_backend = "rdrand", getrandom_backend = "rndr"))))'.dependencies]