Skip to content

Releases: pantonshire/enumscribe

0.4.0

19 Nov 16:04
Compare
Choose a tag to compare
  • Implements the rename and rename_all attributes to allow automatic renaming of variants
  • Replaces usages of std::compile_error with core::compile_error

0.3.1

02 Oct 08:15
Compare
Choose a tag to compare
  • Fixes a bug that prevented some strings (e.g. strings containing escape sequences) from being deserialized by the generated serde::Deserialize impl.

0.3.0

27 Jul 09:21
Compare
Choose a tag to compare
  • Introduces the std feature which is required for ScribeCowStr, TryScribeCowStr, ScribeString and TryScribeString. The std feature may be disabled for compatibility with no_std environments

0.2.1

08 Feb 11:54
Compare
Choose a tag to compare
  • The #[enumscribe(case_insensitive)] attribute may be used to annotate an entire enum rather than just individual variants, marking all variants as case insensitive
  • Individual variants may opt-in to case sensitivity in a case insensitive enum with the #[enumscribe(case_sensitive)] attribute

0.1.2

01 Jul 09:42
Compare
Choose a tag to compare
  • Generated impl blocks are now annotated with #[automatically_derived]