From c272a0fd0adb7ecc6daa580c801e5c559159abc6 Mon Sep 17 00:00:00 2001 From: KodrAus Date: Thu, 6 Apr 2023 08:40:06 +1000 Subject: [PATCH] prepare for 2.1.0 release --- CHANGELOG.md | 13 +++++++++++++ Cargo.toml | 2 +- README.md | 2 +- src/lib.rs | 2 +- 4 files changed, 16 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index fa8a6d23..7f14b265 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,16 @@ +# 2.1.0 + +## What's Changed +* Add docs for the internal Field0 and examples of formatting/parsing by @KodrAus in https://github.com/bitflags/bitflags/pull/328 +* Add support for arbitrary by @KodrAus in https://github.com/bitflags/bitflags/pull/324 +* Fix up missing docs for consts within consts by @KodrAus in https://github.com/bitflags/bitflags/pull/330 +* Ignore clippy lint in generated code by @Jake-Shadle in https://github.com/bitflags/bitflags/pull/331 + +## New Contributors +* @Jake-Shadle made their first contribution in https://github.com/bitflags/bitflags/pull/331 + +**Full Changelog**: https://github.com/bitflags/bitflags/compare/2.0.2...2.1.0 + # 2.0.2 ## What's Changed diff --git a/Cargo.toml b/Cargo.toml index 0214898f..9ec79329 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -3,7 +3,7 @@ name = "bitflags" # NB: When modifying, also modify: # 1. html_root_url in lib.rs # 2. number in readme (for breaking changes) -version = "2.0.2" +version = "2.1.0" edition = "2021" rust-version = "1.56.0" authors = ["The Rust Project Developers"] diff --git a/README.md b/README.md index 2c7c846e..52e710ef 100644 --- a/README.md +++ b/README.md @@ -17,7 +17,7 @@ Add this to your `Cargo.toml`: ```toml [dependencies] -bitflags = "2.0.2" +bitflags = "2.1.0" ``` and this to your source code: diff --git a/src/lib.rs b/src/lib.rs index 8c8fab7c..1398bbab 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -394,7 +394,7 @@ //! example docs. #![cfg_attr(not(any(feature = "std", test)), no_std)] -#![doc(html_root_url = "https://docs.rs/bitflags/2.0.2")] +#![doc(html_root_url = "https://docs.rs/bitflags/2.1.0")] #![forbid(unsafe_code)] #[doc(inline)]