A library for to allow multiple return types by automatically generated enum.
APACHE-2.0 License
Bot releases are visible (Hide)
Published by taiki-e about 5 years ago
futures-preview
0.3.0-alpha.19.Published by taiki-e about 5 years ago
Published by taiki-e about 5 years ago
Published by taiki-e about 5 years ago
Published by taiki-e about 5 years ago
Added "unstable"
crate feature to separate unstable features from stable features. When using features that depend on unstable APIs, the "unstable"
feature must be explicitly enabled.
Improved compile time.
Renamed #[rec]
to #[nested]
.
Removed never
option in argument position in favor of #[enum_derive]
attribute.
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.
(There are no changes since the 0.6.0-alpha.3 release.)
Published by taiki-e about 5 years ago
"unstable"
crate feature to separate unstable features from stable features. When using features that depend on unstable APIs, the "unstable"
feature must be explicitly enabled.Published by taiki-e about 5 years ago
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.
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.
Published by taiki-e over 5 years ago
Updated to support futures-preview
0.3.0-alpha.17.
Added some generated code examples.
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.