Prepare for tarpc release v0.20.0

This commit is contained in:
Tim Kuehn
2019-12-11 20:31:52 -08:00
parent 7f946c7f83
commit d905bc1591
5 changed files with 18 additions and 12 deletions

View File

@@ -1,3 +1,13 @@
## 0.20.0 (2019-12-11)
### Breaking Changes
1. tarpc has updated its tokio dependency to the latest 0.2 version.
2. The tarpc crates have been unified into just `tarpc`, with new Cargo features to enable
functionality.
- The bincode-transport and json-transport crates are deprecated and superseded by
the `serde_transport` module, which unifies much of the logic present in both crates.
## 0.13.0 (2018-10-16)
### Breaking Changes

View File

@@ -16,7 +16,7 @@ description = "An example server built on tarpc."
clap = "2.0"
futures = "0.3"
serde = { version = "1.0" }
tarpc = { version = "0.18", path = "../tarpc", features = ["full"] }
tarpc = { version = "0.20", path = "../tarpc", features = ["full"] }
tokio = { version = "0.2", features = ["full"] }
tokio-serde = { version = "0.6", features = ["json"] }
env_logger = "0.6"

View File

@@ -1,6 +1,6 @@
[package]
name = "tarpc-plugins"
version = "0.5.1"
version = "0.7.0"
authors = ["Adam Wright <adam.austin.wright@gmail.com>", "Tim Kuehn <timothy.j.kuehn@gmail.com>"]
edition = "2018"
license = "MIT"

View File

@@ -1,6 +1,6 @@
[package]
name = "tarpc"
version = "0.18.0"
version = "0.20.0"
authors = ["Adam Wright <adam.austin.wright@gmail.com>", "Tim Kuehn <timothy.j.kuehn@gmail.com>"]
edition = "2018"
license = "MIT"
@@ -36,7 +36,7 @@ rand = "0.7"
tokio = { version = "0.2", features = ["time"] }
serde = { optional = true, version = "1.0", features = ["derive"] }
tokio-util = { optional = true, version = "0.2" }
tarpc-plugins = { path = "../plugins" }
tarpc-plugins = { path = "../plugins", version = "0.7" }
tokio-serde = { optional = true, version = "0.6" }
[dev-dependencies]

View File

@@ -50,7 +50,7 @@
//! Add to your `Cargo.toml` dependencies:
//!
//! ```toml
//! tarpc = "0.18.0"
//! tarpc = "0.20.0"
//! ```
//!
//! The `tarpc::service` attribute expands to a collection of items that form an rpc service.
@@ -134,13 +134,9 @@
//! ```
//!
//! Lastly let's write our `main` that will start the server. While this example uses an
//! [in-process
//! channel](https://docs.rs/tarpc/0.18.0/tarpc/transport/channel/struct.UnboundedChannel.html),
//! tarpc also ships
//! [bincode](https://docs.rs/tarpc-bincode-transport/0.7.0/tarpc_bincode_transport/)
//! and
//! [JSON](https://docs.rs/tarpc-json-transport/0.1.0/tarpc_json_transport)
//! tokio-net based TCP transports that are generic over all serializable types.
//! [in-process channel](rpc::transport::channel), tarpc also ships a generic [`serde_transport`]
//! behind the `serde-transport` feature, with additional [TCP](serde_transport::tcp) functionality
//! available behind the `tcp` feature.
//!
//! ```rust
//! # extern crate futures;