Skip to content

Commit

Permalink
Merge #57
Browse files Browse the repository at this point in the history
57: Release 0.6.0 r=taiki-e a=taiki-e



Co-authored-by: Taiki Endo <te316e89@gmail.com>
  • Loading branch information
bors[bot] and taiki-e authored Sep 7, 2019
2 parents d531099 + fe5fd03 commit 092a423
Show file tree
Hide file tree
Showing 8 changed files with 37 additions and 9 deletions.
28 changes: 28 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,33 @@
# Unreleased

# 0.6.0 - 2019-09-07

* [Added `"unstable"` crate feature to separate unstable features from stable features.][56] When using features that depend on unstable APIs, the `"unstable"` feature must be explicitly enabled.

* Improved compile time.

* Renamed `#[rec]` to `#[nested]`.

* [Removed `marker(name)` option in favor of `marker = name`.][55]

* [Removed `never` option in argument position in favor of `#[enum_derive]` attribute.][48]

* [Removed `"proc_macro"` crate feature.][54]

* 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.)

# 0.6.0-alpha.3 - 2019-09-06

* [Added `"unstable"` crate feature to separate unstable features from stable features.][56] When using features that depend on unstable APIs, the `"unstable"` feature must be explicitly enabled.
Expand Down
6 changes: 3 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "auto_enums"
version = "0.6.0-alpha.3"
version = "0.6.0"
authors = ["Taiki Endo <te316e89@gmail.com>"]
edition = "2018"
license = "Apache-2.0/MIT"
Expand All @@ -17,8 +17,8 @@ A library for to allow multiple return types by automatically generated enum.
members = ["core", "derive", "test_suite"]

[dependencies]
auto_enums_core = { version = "=0.6.0-alpha.3", path = "core", default-features = false }
auto_enums_derive = { version = "=0.6.0-alpha.3", path = "derive", default-features = false }
auto_enums_core = { version = "=0.6.0", path = "core", default-features = false }
auto_enums_derive = { version = "=0.6.0", path = "derive", default-features = false }

[dev-dependencies]
compiletest = { version = "0.3.22", package = "compiletest_rs", features = ["stable", "tmp"] }
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ Add this to your `Cargo.toml`:

```toml
[dependencies]
auto_enums = "0.6.0-alpha.3"
auto_enums = "0.6"
```

The current auto_enums requires Rust 1.31 or later.
Expand Down
2 changes: 1 addition & 1 deletion core/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "auto_enums_core"
version = "0.6.0-alpha.3"
version = "0.6.0"
authors = ["Taiki Endo <te316e89@gmail.com>"]
edition = "2018"
license = "Apache-2.0/MIT"
Expand Down
2 changes: 1 addition & 1 deletion core/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#![recursion_limit = "256"]
#![doc(html_root_url = "https://docs.rs/auto_enums_core/0.6.0-alpha.3")]
#![doc(html_root_url = "https://docs.rs/auto_enums_core/0.6.0")]
#![doc(test(attr(deny(warnings), allow(dead_code, unused_assignments, unused_variables))))]
#![warn(unsafe_code)]
#![warn(rust_2018_idioms, unreachable_pub)]
Expand Down
2 changes: 1 addition & 1 deletion derive/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "auto_enums_derive"
version = "0.6.0-alpha.3"
version = "0.6.0"
authors = ["Taiki Endo <te316e89@gmail.com>"]
edition = "2018"
license = "Apache-2.0/MIT"
Expand Down
2 changes: 1 addition & 1 deletion derive/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#![recursion_limit = "256"]
#![doc(html_root_url = "https://docs.rs/auto_enums_derive/0.6.0-alpha.3")]
#![doc(html_root_url = "https://docs.rs/auto_enums_derive/0.6.0")]
#![doc(test(attr(deny(warnings), allow(dead_code, unused_assignments, unused_variables))))]
#![warn(unsafe_code)]
#![warn(rust_2018_idioms, unreachable_pub)]
Expand Down
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -808,7 +808,7 @@
//!
#![recursion_limit = "256"]
#![doc(html_root_url = "https://docs.rs/auto_enums/0.6.0-alpha.3")]
#![doc(html_root_url = "https://docs.rs/auto_enums/0.6.0")]
#![doc(test(attr(deny(warnings), allow(dead_code, unused_assignments, unused_variables))))]
#![no_std]
#![warn(unsafe_code)]
Expand Down

0 comments on commit 092a423

Please sign in to comment.