]> git.lizzy.rs Git - enumset.git/commitdiff
Bump version to 1.0.11
authorAlissa Rao <lymia@lymiahugs.com>
Tue, 12 Apr 2022 10:31:59 +0000 (03:31 -0700)
committerAlissa Rao <lymia@lymiahugs.com>
Tue, 12 Apr 2022 10:31:59 +0000 (03:31 -0700)
RELEASES.md
enumset/Cargo.toml
enumset_derive/Cargo.toml

index 16bb1e8d601bf8a8d39375e29ace193ef5f3f4de..edd9a9dc26c0eae29ad744349dfdff5cf0c08d67 100644 (file)
@@ -1,3 +1,13 @@
+# Version 1.0.11 (2022-04-12)
+* Added support for explicitly specifying the internal representation of
+  `EnumSet<T>` 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<T>` 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
index aa0c360a6d5679aeddc1137b6f60f95847ec3f5e..215f173990ac299d7f9f4503d21edc6476c594c3 100644 (file)
@@ -1,6 +1,6 @@
 [package]
 name = "enumset"
-version = "1.0.10"
+version = "1.0.11"
 authors = ["Alissa Rao <lymia@lymiahugs.com>"]
 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]
index 978c79be32387ebada2dced6208a50c2e572ee90..39648c80622c2e281c6818fa24b008d9e2e4a117 100644 (file)
@@ -1,6 +1,6 @@
 [package]
 name = "enumset_derive"
-version = "0.5.7"
+version = "0.6.0"
 authors = ["Alissa Rao <lymia@lymiahugs.com>"]
 edition = "2018"