Skip to content

Commit

Permalink
Update changelog + version
Browse files Browse the repository at this point in the history
  • Loading branch information
Peter Glotfelty committed Jan 27, 2024
1 parent 175b4a3 commit f746c36
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 4 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
@@ -1,5 +1,9 @@
# Changelog

## 0.26.1

* [#325](https://github.com/Peternator7/strum/pull/325): use `core` instead of `std` in VariantArray.

## 0.26.0

### Breaking Changes
Expand Down
2 changes: 1 addition & 1 deletion strum/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "strum"
version = "0.26.0"
version = "0.26.1"
edition = "2018"
authors = ["Peter Glotfelty <peter.glotfelty@microsoft.com>"]
license = "MIT"
Expand Down
2 changes: 1 addition & 1 deletion strum/src/lib.rs
Expand Up @@ -223,7 +223,7 @@ pub trait VariantNames {
/// enums with inner data in one or more variants. Consider using it alongside
/// [`EnumDiscriminants`] if you require inner data but still want to have an
/// static array of variants.
pub trait VariantArray: core::marker::Sized + 'static {
pub trait VariantArray: ::core::marker::Sized + 'static {
const VARIANTS: &'static [Self];
}

Expand Down
4 changes: 2 additions & 2 deletions strum_macros/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "strum_macros"
version = "0.26.0"
version = "0.26.1"
edition = "2018"
authors = ["Peter Glotfelty <peter.glotfelty@microsoft.com>"]
license = "MIT"
Expand All @@ -26,4 +26,4 @@ rustversion = "1.0"
syn = { version = "2.0", features = ["parsing", "extra-traits"] }

[dev-dependencies]
strum = { path = "../strum", version= "0.25" }
strum = { path = "../strum", version= "0.26" }

0 comments on commit f746c36

Please sign in to comment.