diff --git a/CHANGELOG.md b/CHANGELOG.md index 19aea09c..403f8240 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,10 +4,13 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). -## [0.2.17] - unreleased +## [0.2.17] - 2026-01-12 ### Fixed +- Use `doc_cfg` instead of `doc_auto_cfg` (partial backport of [#732]) [#768] - `BCryptGenRandom` signature [#778] +[#732]: https://github.com/rust-random/getrandom/pull/732 +[#768]: https://github.com/rust-random/getrandom/pull/768 [#778]: https://github.com/rust-random/getrandom/pull/778 ## [0.2.16] - 2025-04-22 diff --git a/Cargo.toml b/Cargo.toml index 0365734d..fa2a05d8 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "getrandom" -version = "0.2.16" # Also update html_root_url in lib.rs when bumping this +version = "0.2.17" # Also update html_root_url in lib.rs when bumping this edition = "2018" authors = ["The Rand Project Developers"] license = "MIT OR Apache-2.0" @@ -58,10 +58,10 @@ rustdoc-args = ["--cfg", "docsrs"] # workaround for https://github.com/cross-rs/cross/issues/1345 [package.metadata.cross.target.x86_64-unknown-netbsd] pre-build = [ - "mkdir -p /tmp/netbsd", - "curl https://cdn.netbsd.org/pub/NetBSD/NetBSD-9.2/amd64/binary/sets/base.tar.xz -O", - "tar -C /tmp/netbsd -xJf base.tar.xz", - "cp /tmp/netbsd/usr/lib/libexecinfo.so /usr/local/x86_64-unknown-netbsd/lib", - "rm base.tar.xz", - "rm -rf /tmp/netbsd", + "mkdir -p /tmp/netbsd", + "curl https://cdn.netbsd.org/pub/NetBSD/NetBSD-9.2/amd64/binary/sets/base.tar.xz -O", + "tar -C /tmp/netbsd -xJf base.tar.xz", + "cp /tmp/netbsd/usr/lib/libexecinfo.so /usr/local/x86_64-unknown-netbsd/lib", + "rm base.tar.xz", + "rm -rf /tmp/netbsd", ] diff --git a/src/lib.rs b/src/lib.rs index 8430640a..4d2e4eaa 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -204,7 +204,7 @@ #![doc( html_logo_url = "https://www.rust-lang.org/logos/rust-logo-128x128-blk.png", html_favicon_url = "https://www.rust-lang.org/favicon.ico", - html_root_url = "https://docs.rs/getrandom/0.2.16" + html_root_url = "https://docs.rs/getrandom/0.2.17" )] #![no_std] #![warn(rust_2018_idioms, unused_lifetimes, missing_docs)]