auto_enums

A library for to allow multiple return types by automatically generated enum.

APACHE-2.0 License

Downloads
6.4M
Stars
347
Committers
3

Bot releases are visible (Hide)

auto_enums - 0.6.4

Published by taiki-e about 5 years ago

  • Updated to support futures-preview 0.3.0-alpha.19.
auto_enums - 0.6.2

Published by taiki-e about 5 years ago

  • Fixed links to generated code.
auto_enums - 0.6.1

Published by taiki-e about 5 years ago

  • Improved documentation.
auto_enums - 0.6.0

Published by taiki-e about 5 years ago

(There are no changes since the 0.6.0-alpha.3 release.)

auto_enums - 0.6.0-alpha.3

Published by taiki-e about 5 years ago

auto_enums - 0.6.0-alpha.1

Published by taiki-e about 5 years ago

  • Renamed #[rec] to #[nested].

  • Removed never option in argument position in favor of #[enum_derive] attribute.

  • Improved compile time.

  • Added "ops" crate feature, and made [std|core]::ops's Deref, DerefMut, Index, IndexMut, and RangeBounds traits optional.

  • Added "convert" crate feature, and made [std|core]::convert's AsRef and AsMut traits optional.

  • Added "generator_trait" crate feature, and made [std|core]::ops::Generator traits optional. (nightly-only)

  • Added "fn_traits" crate feature, and made Fn, FnMut, and FnOnce traits optional. (nightly-only)

  • Added "trusted_len" crate feature, and made [std|core]::iter::TrustedLen traits optional. (nightly-only)

  • Improved error messages.

auto_enums - 0.5.10

Published by taiki-e about 5 years ago

  • Updated proc-macro2, syn, and quote to 1.0.

  • Updated derive_utils to 0.9. This improves the error message.

  • Added some generated code examples.

auto_enums - 0.5.9

Published by taiki-e over 5 years ago

  • Updated to support futures-preview 0.3.0-alpha.17.

  • Added some generated code examples.

auto_enums - 0.5.8

Published by taiki-e over 5 years ago

  • Added support for futures::io::{AsyncSeek, AsyncBufRead}.
auto_enums - 0.5.7

Published by taiki-e over 5 years ago

  • 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.

auto_enums - 0.5.6

Published by taiki-e over 5 years ago

  • Updated to new nightly.
auto_enums - 0.5.5

Published by taiki-e over 5 years ago

  • Fixed trait support in "type_analysis" feature.
auto_enums - 0.5.4

Published by taiki-e over 5 years ago

  • 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.

auto_enums - 0.5.3

Published by taiki-e over 5 years ago

  • Greatly improved the error message of #[auto_enum] attribute.
auto_enums - 0.5.2

Published by taiki-e over 5 years ago

auto_enums - 0.5.1

Published by taiki-e over 5 years ago

  • Fixed examples and some sentence in README.md.
auto_enums - 0.5.0

Published by taiki-e over 5 years ago

  • 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.

Package Rankings
Top 5.89% on Crates.io
Badges
Extracted from project README
crates.io docs.rs license msrv github actions