A library for to allow multiple return types by automatically generated enum.
APACHE-2.0 License
Bot releases are hidden (Show)
Published by taiki-e over 5 years ago
futures::io::{AsyncSeek, AsyncBufRead}
.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.
Published by taiki-e over 5 years ago
Published by taiki-e over 5 years ago
"type_analysis"
feature.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.
Published by taiki-e over 5 years ago
#[auto_enum]
attribute.Published by taiki-e over 5 years ago
Added some generated code examples.
Added "iovec"
crate feature. This supports the unstable iovec
feature (https://github.com/rust-lang/rust/issues/58452).
Updated minimum syn version to 0.15.29. This fixes some warnings.
Published by taiki-e over 5 years ago
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.