diff --git a/README.md b/README.md index 95bc681..d5aab1e 100644 --- a/README.md +++ b/README.md @@ -59,7 +59,7 @@ Some other features of tarpc: Add to your `Cargo.toml` dependencies: ```toml -tarpc = "0.23.0" +tarpc = "0.24" ``` The `tarpc::service` attribute expands to a collection of items that form an rpc service. @@ -72,9 +72,9 @@ This example uses [tokio](https://tokio.rs), so add the following dependencies t your `Cargo.toml`: ```toml -futures = "0.3" -tarpc = { version = "0.23.0", features = ["tokio1"] } -tokio = "1" +futures = "1.0" +tarpc = { version = "0.24", features = ["tokio1"] } +tokio = { version = "1.0", features = ["macros"] } ``` In the following example, we use an in-process channel for communication between diff --git a/RELEASES.md b/RELEASES.md index 09be184..fece6a0 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -1,3 +1,13 @@ +## 0.24.1 (2020-12-28) + +### Breaking Changes + +Upgrades tokio to 1.0. + +## 0.24.0 (2020-12-28) + +This release was yanked. + ## 0.23.0 (2020-10-19) ### Breaking Changes diff --git a/example-service/Cargo.toml b/example-service/Cargo.toml index 51546eb..581eeb1 100644 --- a/example-service/Cargo.toml +++ b/example-service/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tarpc-example-service" -version = "0.6.0" +version = "0.8.0" authors = ["Tim Kuehn "] edition = "2018" license = "MIT" @@ -17,7 +17,7 @@ clap = "2.33" env_logger = "0.8" futures = "0.3" serde = { version = "1.0" } -tarpc = { version = "0.23", path = "../tarpc", features = ["full"] } +tarpc = { version = "0.24", path = "../tarpc", features = ["full"] } tokio = { version = "1", features = ["full"] } [lib] diff --git a/plugins/Cargo.toml b/plugins/Cargo.toml index a059c3d..e8478b5 100644 --- a/plugins/Cargo.toml +++ b/plugins/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tarpc-plugins" -version = "0.8.0" +version = "0.9.0" authors = ["Adam Wright ", "Tim Kuehn "] edition = "2018" license = "MIT" diff --git a/tarpc/Cargo.toml b/tarpc/Cargo.toml index 66b89a3..2869b4d 100644 --- a/tarpc/Cargo.toml +++ b/tarpc/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tarpc" -version = "0.23.1" +version = "0.24.1" authors = ["Adam Wright ", "Tim Kuehn "] edition = "2018" license = "MIT" @@ -35,7 +35,7 @@ pin-project = "1.0" rand = "0.7" serde = { optional = true, version = "1.0", features = ["derive"] } static_assertions = "1.1.0" -tarpc-plugins = { path = "../plugins", version = "0.8" } +tarpc-plugins = { path = "../plugins", version = "0.9" } tokio = { version = "1", features = ["time"] } tokio-util = { optional = true, version = "0.6" } tokio-serde = { optional = true, version = "0.8" } diff --git a/tarpc/src/lib.rs b/tarpc/src/lib.rs index 9bbec25..68a8296 100644 --- a/tarpc/src/lib.rs +++ b/tarpc/src/lib.rs @@ -46,7 +46,7 @@ //! Add to your `Cargo.toml` dependencies: //! //! ```toml -//! tarpc = "0.23.0" +//! tarpc = "0.24" //! ``` //! //! The `tarpc::service` attribute expands to a collection of items that form an rpc service. @@ -60,8 +60,8 @@ //! //! ```toml //! futures = "1.0" -//! tarpc = { version = "0.23.0", features = ["tokio1"] } -//! tokio = { version = "1", features = ["macros"] } +//! tarpc = { version = "0.24", features = ["tokio1"] } +//! tokio = { version = "1.0", features = ["macros"] } //! ``` //! //! In the following example, we use an in-process channel for communication between