From: Alissa Rao Date: Mon, 5 Jul 2021 21:18:15 +0000 (-0700) Subject: Bump version to 1.0.7 X-Git-Url: https://git.lizzy.rs/?a=commitdiff_plain;h=305d726b0c760afb81247f03f884efc5a597dfe9;p=enumset.git Bump version to 1.0.7 --- diff --git a/RELEASES.md b/RELEASES.md index 518fe51..c58fc8f 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -1,3 +1,8 @@ +# Version 1.0.7 (2021-07-05) +* Added the `#[repr(transparent)]` flag to `EnumSet` to allow for safe usage + in FFI code. Note that invalid bits being set in the bitset causes UB, so + this should be done with care. + # Version 1.0.6 (2021-02-27) * Fix an unneeded warning in the output for `enum_set!` for a single value. diff --git a/enumset/Cargo.toml b/enumset/Cargo.toml index ef7a13d..76f80be 100644 --- a/enumset/Cargo.toml +++ b/enumset/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "enumset" -version = "1.0.6" +version = "1.0.7" authors = ["Alissa Rao "] edition = "2018" @@ -22,7 +22,7 @@ maintenance = { status = "actively-developed" } serde = ["serde2", "enumset_derive/serde"] [dependencies] -enumset_derive = { version = "0.5.4", path = "../enumset_derive" } +enumset_derive = { version = "0.5.5", 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 106b25c..c415a74 100644 --- a/enumset_derive/Cargo.toml +++ b/enumset_derive/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "enumset_derive" -version = "0.5.4" +version = "0.5.5" authors = ["Alissa Rao "] edition = "2018"