Skip to content

feat!: #[derive(EnumStr)] now deriving fmt::Display - #11

Merged
uimataso merged 1 commit into
mainfrom
enum-str-display
Jul 10, 2026
Merged

uimataso merged 1 commit into
mainfrom
enum-str-display

Conversation

@uimataso

Copy link
Copy Markdown
Owner

BREAKING CHANGE: Display is now derived by default. Enums that already implement fmt::Display will hit a conflicting-impl error. Add #[enum_str(impl_display(disable))] (or #[enum_str(no_rendering)]) to opt out.

BREAKING CHANGE: `Display` is now derived by default. Enums that already
implement `fmt::Display` will hit a conflicting-impl error. Add
`#[enum_str(impl_display(disable))]` (or `#[enum_str(no_rendering)]`) to
opt out.
@uimataso
uimataso merged commit 0533d11 into main Jul 10, 2026
6 checks passed
@uimataso
uimataso deleted the enum-str-display branch July 10, 2026 18:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant