Skip to content

Commit

Permalink
v0.4.7
Browse files Browse the repository at this point in the history
  • Loading branch information
colin-kiegel committed Apr 29, 2017
1 parent 6e9f479 commit f803b11
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 8 deletions.
5 changes: 3 additions & 2 deletions derive_builder/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
All notable changes to this project will be documented in this file.
This project adheres to [Semantic Versioning](http://semver.org/).

## Unreleased
## [0.4.7] - 2017-04-29

### Fixed
- for generic structs, apply the `T: Clone` type bound in builder impl
Expand Down Expand Up @@ -132,7 +132,8 @@ Requires Rust 1.15 or newer.
- generate setter methods
- support for generic structs

[Unreleased]: https://github.com/colin-kiegel/rust-derive-builder/compare/v0.4.6...HEAD
[Unreleased]: https://github.com/colin-kiegel/rust-derive-builder/compare/v0.4.7...HEAD
[0.4.7]: https://github.com/colin-kiegel/rust-derive-builder/compare/v0.4.6...v0.4.7
[0.4.6]: https://github.com/colin-kiegel/rust-derive-builder/compare/v0.4.5...v0.4.6
[0.4.5]: https://github.com/colin-kiegel/rust-derive-builder/compare/v0.4.4...v0.4.5
[0.4.4]: https://github.com/colin-kiegel/rust-derive-builder/compare/v0.4.3...v0.4.4
Expand Down
4 changes: 2 additions & 2 deletions derive_builder/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "derive_builder"
version = "0.4.6"
version = "0.4.7"
authors = ["Colin Kiegel <kiegel@gmx.de>",
"Pascal Hertleif <killercup@gmail.com>",
"Jan-Erik Rediger <janerik@fnordig.de>",
Expand Down Expand Up @@ -44,4 +44,4 @@ log = { version = "0.3", optional = true }
env_logger = { version = "0.4", optional = true }

[dev-dependencies]
pretty_assertions = "0.1"
pretty_assertions = "0.2"
2 changes: 0 additions & 2 deletions derive_builder/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@

[Rust][rust] macro to automatically implement the **builder pattern** for arbitrary structs. A simple `#[derive(Builder)]` will generate a `FooBuilder` for your struct `Foo` with all setter-methods and a build method.

**This requires Rust 1.15, due to the usage of Macros 1.1.**

## How it Works

```rust
Expand Down
8 changes: 8 additions & 0 deletions derive_builder_core/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,14 @@
All notable changes to this project will be documented in this file.
This project adheres to [Semantic Versioning](http://semver.org/).

## 0.1.7 - 2017-04-29

### Fixed
- for generic structs, apply the `T: Clone` type bound in builder impl
instead of struct definition #91
- only emit the `T: Clone` type bound when it is actually needed, i.e.
mutable/immutable pattern, but not owned pattern.

## 0.1.6 - 2017-04-26

### Added
Expand Down
4 changes: 2 additions & 2 deletions derive_builder_core/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "derive_builder_core"
version = "0.1.6"
version = "0.1.7"
authors = ["Colin Kiegel <kiegel@gmx.de>",
"Pascal Hertleif <killercup@gmail.com>",
"Jan-Erik Rediger <janerik@fnordig.de>",
Expand All @@ -25,4 +25,4 @@ quote = "0.3"
log = { version = "0.3", optional = true }

[dev-dependencies]
pretty_assertions = "0.1"
pretty_assertions = "0.2"

0 comments on commit f803b11

Please sign in to comment.