Skip to content

Releases: taiki-e/auto_enums

0.5.8

22 May 04:43
Compare
Choose a tag to compare
  • Added support for futures::io::{AsyncSeek, AsyncBufRead}.

0.5.7

12 May 06:34
Compare
Choose a tag to compare
  • Updated to new nightly. iovec stabilized. #[enum_derive] automatically detects the rustc version and supports Read::read_vectored and Write::write_vectored as the part of Read and Write.

  • Supported for latest futures 0.3.0-alpha.16.

0.5.6

16 Apr 16:15
Compare
Choose a tag to compare
  • Updated to new nightly.

0.5.5

29 Mar 16:31
Compare
Choose a tag to compare
  • Fixed trait support in "type_analysis" feature.

0.5.4

14 Mar 06:49
Compare
Choose a tag to compare
  • Fixed the problem that "failed to resolve: use of undeclared type or module" (E0433) error is shown when one or more compilation errors occur when multiple #[auto_enum] attributes are used.

  • Improved the error message of #[enum_derive] attribute.

  • Updated minimum derive_utils version to 0.7.0. This improves the error message.

0.5.3

13 Mar 09:59
Compare
Choose a tag to compare
  • Greatly improved the error message of #[auto_enum] attribute.

0.5.2

13 Mar 09:56
Compare
Choose a tag to compare
  • Added some generated code examples.

  • Added "iovec" crate feature. This supports the unstable iovec feature (rust-lang/rust#58452).

  • Updated minimum syn version to 0.15.29. This fixes some warnings.

0.5.1

13 Mar 09:56
Compare
Choose a tag to compare
  • Fixed examples and some sentence in README.md.

0.5.0

13 Mar 09:43
Compare
Choose a tag to compare
  • Transition to Rust 2018. With this change, the minimum required version will go up to Rust 1.31.

  • Reduced the feature of "std" crate feature. The current "std" crate feature only determines whether to enable std library's traits (e.g., std::io::Read) support. "std" crate feature is enabled by default, but you can reduce compile time by disabling this feature.

  • Fixed problem where "macro attributes must be placed before #[derive]" error occurred when #[enum_derive] attribute was used with other attributes.

  • No longer need #[macro_use] extern crate auto_enums;. You can use #[auto_enum] attribute by use auto_enums::auto_enum;.

  • Removed "unstable" crate feature.