Skip to content

Commit

Permalink
v0.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
alecmocatta committed Oct 12, 2019
1 parent 85e4621 commit 5cf913d
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 11 deletions.
6 changes: 3 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

[package]
name = "serde_closure"
version = "0.1.5"
version = "0.2.0"
license = "MIT OR Apache-2.0"
authors = ["Alec Mocatta <alec@mocatta.net>"]
categories = ["development-tools","encoding","rust-patterns","network-programming"]
Expand All @@ -14,7 +14,7 @@ This library provides macros to wrap closures such that they can serialized and
"""
repository = "https://github.com/alecmocatta/serde_closure"
homepage = "https://github.com/alecmocatta/serde_closure"
documentation = "https://docs.rs/serde_closure/0.1.5"
documentation = "https://docs.rs/serde_closure/0.2.0"
readme = "README.md"
edition = "2018"

Expand All @@ -23,7 +23,7 @@ azure-devops = { project = "alecmocatta/serde_closure", pipeline = "tests" }
maintenance = { status = "actively-developed" }

[dependencies]
serde_closure_derive = { path = "serde_closure_derive", version = "0.1.5" }
serde_closure_derive = { version = "=0.2.0", path = "serde_closure_derive" }
serde_derive = "1.0"
serde = { version = "1.0", features = ["derive"] }
proc-macro-hack = "0.5"
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
[![MIT / Apache 2.0 licensed](https://img.shields.io/crates/l/serde_closure.svg?maxAge=2592000)](#License)
[![Build Status](https://dev.azure.com/alecmocatta/serde_closure/_apis/build/status/tests?branchName=master)](https://dev.azure.com/alecmocatta/serde_closure/_build/latest?branchName=master)

[Docs](https://docs.rs/serde_closure/0.1.5)
[Docs](https://docs.rs/serde_closure/0.2.0)

Serializable closures.

Expand All @@ -29,9 +29,9 @@ features (rust issue
[#29625](https://github.com/rust-lang/rust/issues/29625)).

* There are three macros,
[`FnOnce`](https://docs.rs/serde_closure/0.1.5/serde_closure/macro.FnOnce.html),
[`FnMut`](https://docs.rs/serde_closure/0.1.5/serde_closure/macro.FnMut.html)
and [`Fn`](https://docs.rs/serde_closure/0.1.5/serde_closure/macro.Fn.html),
[`FnOnce`](https://docs.rs/serde_closure/0.2.0/serde_closure/macro.FnOnce.html),
[`FnMut`](https://docs.rs/serde_closure/0.2.0/serde_closure/macro.FnMut.html)
and [`Fn`](https://docs.rs/serde_closure/0.2.0/serde_closure/macro.Fn.html),
corresponding to the three types of Rust closure.
* Wrap your closure with one of the macros and it will now implement `Copy`,
`Clone`, `PartialEq`, `Eq`, `Hash`, `PartialOrd`, `Ord`, `Serialize`,
Expand Down
4 changes: 2 additions & 2 deletions serde_closure_derive/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "serde_closure_derive"
version = "0.1.5"
version = "0.2.0"
license = "MIT OR Apache-2.0"
authors = ["Alec Mocatta <alec@mocatta.net>"]
categories = ["development-tools","encoding","rust-patterns","network-programming"]
Expand All @@ -14,7 +14,7 @@ See [`serde_closure`](https://crates.io/crates/serde_closure) for documentation.
"""
repository = "https://github.com/alecmocatta/serde_closure"
homepage = "https://github.com/alecmocatta/serde_closure"
documentation = "https://docs.rs/serde_closure/0.1.5"
documentation = "https://docs.rs/serde_closure/0.2.0"
edition = "2018"

[badges]
Expand Down
2 changes: 1 addition & 1 deletion serde_closure_derive/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
//! See [`serde_closure`](https://docs.rs/serde_closure/) for
//! documentation.

#![doc(html_root_url = "https://docs.rs/serde_closure_derive/0.1.5")]
#![doc(html_root_url = "https://docs.rs/serde_closure_derive/0.2.0")]
#![allow(non_snake_case)] // due to proc-macro-hack can't apply this directly

extern crate proc_macro;
Expand Down
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@
//! | in this macro invocation
//! ```

#![doc(html_root_url = "https://docs.rs/serde_closure/0.1.5")]
#![doc(html_root_url = "https://docs.rs/serde_closure/0.2.0")]
#![feature(unboxed_closures, fn_traits)]
#![warn(
missing_copy_implementations,
Expand Down

0 comments on commit 5cf913d

Please sign in to comment.