From e90bc60daffc48dba3980180170758fc4889d5fc Mon Sep 17 00:00:00 2001 From: Alissa Rao Date: Tue, 12 Apr 2022 03:31:59 -0700 Subject: [PATCH] Bump version to 1.0.11 --- RELEASES.md | 10 ++++++++++ enumset/Cargo.toml | 4 ++-- enumset_derive/Cargo.toml | 2 +- 3 files changed, 13 insertions(+), 3 deletions(-) diff --git a/RELEASES.md b/RELEASES.md index 16bb1e8..edd9a9d 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -1,3 +1,13 @@ +# Version 1.0.11 (2022-04-12) +* Added support for explicitly specifying the internal representation of + `EnumSet` using the `#[enumset(repr = "...")]` annotation. + (Thanks @ahcodedthat) +* Added new functions for directly converting an EnumSet to and from its + internal representation, when it is explicitly specified. + (Thanks @ahcodedthat) +* Added new `from_*_unchecked` functions that unsafely convert a value into + an `EnumSet` without checking if only valid bits are set. + # Version 1.0.10 (2022-04-05) * The `proc-macro-crate` support has been locked behind the `std` flag and version `1.0.9` has been yanked due to a regression that causes enumset to diff --git a/enumset/Cargo.toml b/enumset/Cargo.toml index aa0c360..215f173 100644 --- a/enumset/Cargo.toml +++ b/enumset/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "enumset" -version = "1.0.10" +version = "1.0.11" authors = ["Alissa Rao "] edition = "2018" @@ -24,7 +24,7 @@ alloc = [] std = ["alloc", "enumset_derive/proc-macro-crate"] [dependencies] -enumset_derive = { version = "0.5.7", path = "../enumset_derive" } +enumset_derive = { version = "0.6.0", path = "../enumset_derive" } serde2 = { package = "serde", version = "1.0.91", default-features = false, optional = true } [dev-dependencies] diff --git a/enumset_derive/Cargo.toml b/enumset_derive/Cargo.toml index 978c79b..39648c8 100644 --- a/enumset_derive/Cargo.toml +++ b/enumset_derive/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "enumset_derive" -version = "0.5.7" +version = "0.6.0" authors = ["Alissa Rao "] edition = "2018" -- 2.44.0