diff --git a/CHANGELOG.md b/CHANGELOG.md index e1ddea370..c3ca728fd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,14 @@ 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.2] - 2021-01-19 +### Changed +- Forward `rustc-dep-of-std` to dependencies. [#198] +- Highlight feature-dependend functionality in documentation using the `doc_cfg` feature. [#200] + +[#198]: https://github.com/rust-random/getrandom/pull/198 +[#200]: https://github.com/rust-random/getrandom/pull/200 + ## [0.2.1] - 2021-01-03 ### Changed - Update `cfg-if` to v1.0. [#166] diff --git a/Cargo.toml b/Cargo.toml index b655287a3..dabf016f8 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "getrandom" -version = "0.2.1" +version = "0.2.2" # Also update html_root_url in lib.rs when bumping this edition = "2018" authors = ["The Rand Project Developers"] license = "MIT OR Apache-2.0" diff --git a/src/lib.rs b/src/lib.rs index c3145777b..b1a5b1021 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -142,7 +142,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://rust-random.github.io/rand/" + html_root_url = "https://docs.rs/getrandom/0.2.2" )] #![no_std] #![warn(rust_2018_idioms, unused_lifetimes, missing_docs)]