- Add
FromStrRegex
trait. - Support
#[from_str(regex_infer)]
.
0.10.0 - 2024-08-04
- Set
rust-version
to 1.80.0. - In debug mode, it will panic if the result of
FromStrFormat::regex
varies for the same field depending on the type parameters. - Change the behavior when both
#[display("...")]
and#[from_str("...")]
are specified for a field. (dc14a2b)
- Fix
#[from_str]
to not affectDisplay
.
0.9.1 - 2024-05-31
- Set
rust-version
to 1.70.0. #42
- Ensure
Pointer
format is formatted correctly.
- Optimizing runtime performance for the literal string case. #39
0.9.0 - 2024-02-04
- Support
#[display(with = ...)]
. #36 - Support for use of format traits other than
Display
for self. #35 - Allow DST fields with
#[derive(Display)]
.
- Use
std::sync::OnceLock
in generated code and removeonce_cell
dependency.
0.8.2 - 2023-07-16
- Enabled
(?<name>.*)
usage in regex alongside(?P<name>.*)
.
- Update to
regex-syntax
0.7.
- Fix handling of regex that resemble, but aren't, captures (e.g.
(\(?<a>.*)
)
0.8.1 - 2023-06-10
- Support
#[display(crate = ...)]
.
- Update to
syn
2.0.
0.8.0 - 2022-12-21
- Fixed a problem where strings containing newlines could not be parsed #27
0.7.0 - 2022-12-05
- Use result with full path in the generated code #26
0.6.0 - 2022-09-01
- Support
#[from_str(ignore)]
for variant.