From e547ed806a2b73b43392cac64e3817ae055466eb Mon Sep 17 00:00:00 2001 From: Vincent Esche Date: Tue, 31 Dec 2024 16:03:42 +0100 Subject: [PATCH] Bump version to '0.6.0' --- CHANGELOG.md | 6 ++++++ Cargo.toml | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 39e80cc..11759ef 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -50,6 +50,12 @@ Please make sure to add your changes to the appropriate categories: - n/a +## [0.6.0] - 2024-12-31 + +### Added + +- Added support for nested variant discriminants via variant-level `#[enumcapsulate(discriminant(nested = …))]` helper attribute for `VariantDiscriminant` derive macro, allowing for specifying a type of the sub-discriminant for the generated variant. + ## [0.5.0] - 2024-12-01 ### Added diff --git a/Cargo.toml b/Cargo.toml index 22a100f..c15f95c 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -9,7 +9,7 @@ documentation = "https://docs.rs/enumcapsulate" license = "MPL-2.0" edition = "2021" rust-version = "1.78.0" -version = "0.5.0" +version = "0.6.0" [package] name = "enumcapsulate" @@ -29,7 +29,7 @@ version = { workspace = true } # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -enumcapsulate-macros = { version = "0.5.0", path = "./macros", optional = true } +enumcapsulate-macros = { version = "0.6.0", path = "./macros", optional = true } [dev-dependencies] tryexpand = "0.9.2"