Skip to content

Commit

Permalink
v0.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
colin-kiegel committed Feb 5, 2017
1 parent 10e624d commit cc64897
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ This project adheres to [Semantic Versioning](http://semver.org/).
### Changed
- migration to macros 1.1
- migration to traditional builder pattern
i.e. seperate `FooBuilder` struct to build `Foo`
=> please refer to the new docs

### Fixed
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "derive_builder"
version = "0.2.1"
version = "0.3.0"
authors = ["Colin Kiegel <kiegel@gmx.de>",
"Pascal Hertleif <killercup@gmail.com>",
"Jan-Erik Rediger <janerik@fnordig.de>"]
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@
[![Latest Version](https://img.shields.io/crates/v/derive_builder.svg)](https://crates.io/crates/derive_builder)
[![Documentation](https://docs.rs/derive_builder/badge.svg)](https://docs.rs/derive_builder)

# Builder pattern derive
# Builder Pattern Derive

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

And this is how it works:
## How it Works

```rust
#[macro_use]
Expand Down Expand Up @@ -102,7 +102,7 @@ This is a work in progress. So expect even more features in the future. :-)

## [Documentation][doc]

The builder pattern is explained [here][builder-pattern], including its variants.
Detailed explaination of all features and tips for troubleshooting. You'll also find a discussion of different builder patterns.

[doc]: https://colin-kiegel.github.io/rust-derive-builder
[rust]: https://www.rust-lang.org/
Expand Down

0 comments on commit cc64897

Please sign in to comment.