From 61df53a791cfdd681bc4adcea12796c0bdef1ca5 Mon Sep 17 00:00:00 2001 From: KodrAus Date: Wed, 19 Apr 2023 14:37:33 +1000 Subject: [PATCH] prepare for 2.2.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 7f14b265..fed6a53d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,16 @@ +# 2.2.0 + +## What's Changed +* Create SECURITY.md by @KodrAus in https://github.com/bitflags/bitflags/pull/338 +* add docs to describe the behavior of multi-bit flags by @nicholasbishop in https://github.com/bitflags/bitflags/pull/340 +* Add support for bytemuck by @KodrAus in https://github.com/bitflags/bitflags/pull/336 +* Add a top-level macro for filtering attributes by @KodrAus in https://github.com/bitflags/bitflags/pull/341 + +## New Contributors +* @nicholasbishop made their first contribution in https://github.com/bitflags/bitflags/pull/340 + +**Full Changelog**: https://github.com/bitflags/bitflags/compare/2.1.0...2.2.0 + # 2.1.0 ## What's Changed diff --git a/Cargo.toml b/Cargo.toml index 516fb1a5..2e097b79 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.1.0" +version = "2.2.0" edition = "2021" rust-version = "1.56.0" authors = ["The Rust Project Developers"] diff --git a/README.md b/README.md index 52e710ef..8cf740bb 100644 --- a/README.md +++ b/README.md @@ -17,7 +17,7 @@ Add this to your `Cargo.toml`: ```toml [dependencies] -bitflags = "2.1.0" +bitflags = "2.2.0" ``` and this to your source code: diff --git a/src/lib.rs b/src/lib.rs index a4a40467..afc5b524 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -423,7 +423,7 @@ #![cfg_attr(not(any(feature = "std", test)), no_std)] #![cfg_attr(not(test), forbid(unsafe_code))] -#![doc(html_root_url = "https://docs.rs/bitflags/2.1.0")] +#![doc(html_root_url = "https://docs.rs/bitflags/2.2.0")] #[doc(inline)] pub use traits::BitFlags;