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 hidden (Show)

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