All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
Unreleased - ReleaseDate
- Don't name the output of the const block to work around
non_local_definitions
error (#47) - Reference the
core
crate correctly to avoid clashes with modules namedcore
(#45) - Explicitly list MSRV in Cargo.toml (#51)
- Bump edition to 2021 (#51)
0.2.4 - 2022-05-02
- Updated
syn
dependency to 2.0 - Support for empty enums
- Implicitly require fmt::Display on all type parameters unless overridden
- Bumped MSRV to 1.56
0.2.3 - 2021-07-16
- Added
#[displaydoc("..")]
attribute for overriding a doc comment
0.2.2 - 2021-07-01
- Added prefix feature to use the doc comment from an enum and prepend it before the error message from each variant.
0.2.1 - 2021-03-26
- Added opt in support for ignoring extra doc attributes
0.2.0 - 2021-03-16
- (BREAKING) disallow multiple
doc
attributes in display impl [#22]. Allowing and ignoring extra doc attributes made it too easy to accidentally create a broken display implementation with missing context without realizing it, this change turns that into a hard error and directs users towards block comments if multiple lines are needed.