Skip to content

fix: de str enums from owned strings

Fedor Telnov requested to merge fix/define_str_enum_owned into master

Summary

  • fix: de str enums from owned strings

Previously, enums defined with define_str_enum! macro were unable to deserialize from owned strings.

It can be seen in deserializing from format representations, like serde_json::Value.

Ensure that

  • New code is covered by tests
  • API is documented
  • Changelog is up to date
  • Version is bumped in the appropriate Cargo.toml files
Edited by Егор Ивков

Merge request reports