Skip to content

Commit

Permalink
Release v0.5.1
Browse files Browse the repository at this point in the history
  • Loading branch information
taiki-e committed Mar 3, 2019
1 parent 0f5bef1 commit d711e18
Show file tree
Hide file tree
Showing 8 changed files with 18 additions and 10 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Unreleased

# 0.5.1 - 2019-03-03

* Fix examples and wrong name in README.md.

# 0.5.0 - 2019-03-03

* Transition to Rust 2018. With this change, the minimum required version will go up to Rust 1.31.
Expand Down
6 changes: 3 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "auto_enums"
# NB: When modifying, also modify html_root_url in lib.rs
version = "0.5.0"
version = "0.5.1"
authors = ["Taiki Endo <[email protected]>"]
edition = "2018"
license = "Apache-2.0/MIT"
Expand All @@ -25,12 +25,12 @@ members = [
travis-ci = { repository = "taiki-e/auto_enums" }

[dependencies.auto_enums_core]
version = "0.5.0"
version = "0.5.1"
path = "core"
default-features = false

[dependencies.auto_enums_derive]
version = "0.5.0"
version = "0.5.1"
path = "derive"
default-features = false

Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,8 @@ If you want to use traits that are not supported by `#[enum_derive]`, you can us
Basic usage of `#[enum_derive]`

```rust
use auto_enums::enum_derive;

// `#[enum_derive]` implements `Iterator`, and `#[derive]` implements `Clone`.
#[enum_derive(Iterator, Clone)]
enum Foo<A, B> {
Expand Down
2 changes: 1 addition & 1 deletion core/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "auto_enums_core"
# NB: When modifying, also modify html_root_url in lib.rs
version = "0.5.0"
version = "0.5.1"
authors = ["Taiki Endo <[email protected]>"]
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,6 +1,6 @@
#![crate_type = "proc-macro"]
#![recursion_limit = "256"]
#![doc(html_root_url = "https://docs.rs/auto_enums_core/0.5.0")]
#![doc(html_root_url = "https://docs.rs/auto_enums_core/0.5.1")]
#![deny(unsafe_code)]
#![deny(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,7 +1,7 @@
[package]
name = "auto_enums_derive"
# NB: When modifying, also modify html_root_url in lib.rs
version = "0.5.0"
version = "0.5.1"
authors = ["Taiki Endo <[email protected]>"]
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,6 +1,6 @@
#![crate_type = "proc-macro"]
#![recursion_limit = "256"]
#![doc(html_root_url = "https://docs.rs/auto_enums_derive/0.5.0")]
#![doc(html_root_url = "https://docs.rs/auto_enums_derive/0.5.1")]
#![deny(unsafe_code)]
#![deny(rust_2018_idioms, unreachable_pub)]

Expand Down
8 changes: 5 additions & 3 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -595,7 +595,8 @@
//!
//! ```rust
//! # #![cfg_attr(feature = "try_trait", feature(try_trait))]
//! # use auto_enums::enum_derive;
//! use auto_enums::enum_derive;
//!
//! // `#[enum_derive]` implements `Iterator`, and `#[derive]` implements `Clone`.
//! #[enum_derive(Iterator, Clone)]
//! enum Foo<A, B> {
Expand All @@ -610,7 +611,8 @@
//! ```rust
//! # #![cfg_attr(feature = "try_trait", feature(try_trait))]
//! # #![cfg_attr(feature = "exact_size_is_empty", feature(exact_size_is_empty))]
//! # use auto_enums::enum_derive;
//! use auto_enums::enum_derive;
//!
//! // `#[enum_derive]` implements `Iterator` and `ExactSizeIterator`.
//! #[enum_derive(ExactSizeIterator)]
//! enum Foo<A, B> {
Expand Down Expand Up @@ -826,7 +828,7 @@
//!

#![recursion_limit = "256"]
#![doc(html_root_url = "https://docs.rs/auto_enums/0.5.0")]
#![doc(html_root_url = "https://docs.rs/auto_enums/0.5.1")]
#![deny(unsafe_code)]
#![deny(rust_2018_idioms, unreachable_pub)]
#![no_std]
Expand Down

0 comments on commit d711e18

Please sign in to comment.