prepare for 1.3.0 release

This commit is contained in:
Ashley Mannix 2021-08-05 11:28:42 +10:00
parent 72a01b9e33
commit ab6c459cb4
4 changed files with 45 additions and 3 deletions

View File

@ -1,3 +1,45 @@
# 1.3.0
- End empty doc comment with full stop ([#202])
- Fix typo in crate root docs ([#206])
- Document from_bits_unchecked unsafety ([#207])
- Let `is_all()` ignore extra bits ([#211])
- Allows empty flag definition ([#225])
- Making crate accessible from std ([#227])
- Make `from_bits` a const fn ([#229])
- Allow multiple bitflags structs in one macro invocation ([#235])
- Add named functions to perform set operations ([#244])
- Fix typos in method docs ([#245])
- Modernization of the `bitflags` macro to take advantage of newer features and 2018 idioms ([#246])
- Fix regression (in an unreleased feature) and simplify tests ([#247])
- Use `Self` and fix bug when overriding `stringify!` ([#249])
[#202]: https://github.com/bitflags/bitflags/pull/202
[#206]: https://github.com/bitflags/bitflags/pull/206
[#207]: https://github.com/bitflags/bitflags/pull/207
[#211]: https://github.com/bitflags/bitflags/pull/211
[#225]: https://github.com/bitflags/bitflags/pull/225
[#227]: https://github.com/bitflags/bitflags/pull/227
[#229]: https://github.com/bitflags/bitflags/pull/229
[#235]: https://github.com/bitflags/bitflags/pull/235
[#244]: https://github.com/bitflags/bitflags/pull/244
[#245]: https://github.com/bitflags/bitflags/pull/245
[#246]: https://github.com/bitflags/bitflags/pull/246
[#247]: https://github.com/bitflags/bitflags/pull/247
[#249]: https://github.com/bitflags/bitflags/pull/249
# 1.2.1
- Remove extraneous `#[inline]` attributes ([#194])

View File

@ -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 = "1.2.1"
version = "1.3.0"
edition = "2018"
authors = ["The Rust Project Developers"]
license = "MIT/Apache-2.0"

View File

@ -18,7 +18,7 @@ Add this to your `Cargo.toml`:
```toml
[dependencies]
bitflags = "1.2"
bitflags = "1.3"
```
and this to your source code:

View File

@ -258,7 +258,7 @@
//! Users should generally avoid defining a flag with a value of zero.
#![cfg_attr(not(test), no_std)]
#![doc(html_root_url = "https://docs.rs/bitflags/1.2.1")]
#![doc(html_root_url = "https://docs.rs/bitflags/1.3.0")]
#[doc(hidden)]
pub extern crate core as _core;