tower-service v0.2.0 (#135)
This commit is contained in:
parent
c1b96616b4
commit
ffa6f03618
|
@ -9,7 +9,7 @@ futures = "0.1"
|
|||
log = "0.4.1"
|
||||
rand = "0.5"
|
||||
tokio-timer = "0.2.4"
|
||||
tower-service = { version = "0.1", path = "../tower-service" }
|
||||
tower-service = { version = "0.2", path = "../tower-service" }
|
||||
tower-direct-service = { version = "0.1", path = "../tower-direct-service" }
|
||||
tower-discover = { version = "0.1", path = "../tower-discover" }
|
||||
indexmap = "1"
|
||||
|
|
|
@ -6,7 +6,7 @@ publish = false
|
|||
|
||||
[dependencies]
|
||||
futures = "0.1"
|
||||
tower-service = { version = "0.1", path = "../tower-service" }
|
||||
tower-service = { version = "0.2", path = "../tower-service" }
|
||||
tower-direct-service = { version = "0.1", path = "../tower-direct-service" }
|
||||
tokio-executor = "0.1"
|
||||
|
||||
|
|
|
@ -6,4 +6,4 @@ publish = false
|
|||
|
||||
[dependencies]
|
||||
futures = "0.1"
|
||||
tower-service = { version = "0.1", path = "../tower-service" }
|
||||
tower-service = { version = "0.2", path = "../tower-service" }
|
||||
|
|
|
@ -6,7 +6,7 @@ publish = false
|
|||
|
||||
[dependencies]
|
||||
futures = "0.1"
|
||||
tower-service = { version = "0.1", path = "../tower-service" }
|
||||
tower-service = { version = "0.2", path = "../tower-service" }
|
||||
|
||||
[dev-dependencies]
|
||||
tower-mock = { version = "0.1", path = "../tower-mock" }
|
||||
|
|
|
@ -6,7 +6,7 @@ publish = false
|
|||
|
||||
[dependencies]
|
||||
futures = "0.1"
|
||||
tower-service = { version = "0.1", path = "../tower-service" }
|
||||
tower-service = { version = "0.2", path = "../tower-service" }
|
||||
|
||||
[dev-dependencies]
|
||||
tokio-test = { git = "https://github.com/carllerche/tokio-test" }
|
||||
|
|
|
@ -6,4 +6,4 @@ publish = false
|
|||
|
||||
[dependencies]
|
||||
futures = "0.1"
|
||||
tower-service = { version = "0.1", path = "../tower-service" }
|
||||
tower-service = { version = "0.2", path = "../tower-service" }
|
||||
|
|
|
@ -6,7 +6,7 @@ publish = false
|
|||
|
||||
[dependencies]
|
||||
futures = "0.1"
|
||||
tower-service = { version = "0.1", path = "../tower-service" }
|
||||
tower-service = { version = "0.2", path = "../tower-service" }
|
||||
tokio-timer = "0.1"
|
||||
|
||||
[dev-dependencies]
|
||||
|
|
|
@ -7,5 +7,5 @@ publish = false
|
|||
[dependencies]
|
||||
log = "0.4.1"
|
||||
futures = "0.1"
|
||||
tower-service = { version = "0.1", path = "../tower-service" }
|
||||
tower-service = { version = "0.2", path = "../tower-service" }
|
||||
tower-util = { version = "0.1", path = "../tower-util" }
|
||||
|
|
|
@ -6,7 +6,7 @@ publish = false
|
|||
|
||||
[dependencies]
|
||||
futures = "0.1"
|
||||
tower-service = { version = "0.1", path = "../tower-service" }
|
||||
tower-service = { version = "0.2", path = "../tower-service" }
|
||||
tokio-timer = "0.2.4"
|
||||
|
||||
[dev-dependencies]
|
||||
|
|
|
@ -6,7 +6,7 @@ publish = false
|
|||
|
||||
[dependencies]
|
||||
futures = "0.1"
|
||||
tower-service = { version = "0.1", path = "../tower-service" }
|
||||
tower-service = { version = "0.2", path = "../tower-service" }
|
||||
futures-borrow = { git = "https://github.com/carllerche/better-future" }
|
||||
|
||||
[dev-dependencies]
|
||||
|
|
|
@ -0,0 +1,26 @@
|
|||
# 0.2.0 (Dec 12, 2018)
|
||||
|
||||
* Change `Service`'s `Request` associated type to be a generic instead.
|
||||
* Before:
|
||||
|
||||
```rust
|
||||
impl Service for Client {
|
||||
type Request = HttpRequest;
|
||||
type Response = HttpResponse;
|
||||
// ...
|
||||
}
|
||||
```
|
||||
* After:
|
||||
|
||||
```rust
|
||||
impl Service<HttpRequest> for Client {
|
||||
type Response = HttpResponse;
|
||||
// ...
|
||||
}
|
||||
```
|
||||
* Remove `NewService`, use `tower_util::MakeService` instead.
|
||||
* Remove `Service::ready` and `Ready`, use `tower_util::ServiceExt` instead.
|
||||
|
||||
# 0.1.0 (Aug 9, 2018)
|
||||
|
||||
* Initial release
|
|
@ -5,14 +5,14 @@ name = "tower-service"
|
|||
# - Update html_root_url.
|
||||
# - Update CHANGELOG.md.
|
||||
# - Update documentation URL
|
||||
# - Create "v0.1.x" git tag.
|
||||
version = "0.1.0"
|
||||
# - Create "v0.x.y" git tag.
|
||||
version = "0.2.0"
|
||||
authors = ["Carl Lerche <me@carllerche.com>"]
|
||||
license = "MIT"
|
||||
readme = "README.md"
|
||||
repository = "https://github.com/tower-rs/tower"
|
||||
homepage = "https://github.com/tower-rs/tower"
|
||||
documentation = "https://docs.rs/tokio-service/0.1.0"
|
||||
documentation = "https://docs.rs/tokio-service/0.2.0"
|
||||
description = """
|
||||
Trait representing an asynchronous, request / response based, client or server.
|
||||
"""
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#![deny(missing_docs)]
|
||||
#![doc(html_root_url = "https://docs.rs/tower/0.1.0")]
|
||||
#![doc(html_root_url = "https://docs.rs/tower/0.2.0")]
|
||||
|
||||
//! Definition of the core `Service` trait to Tower
|
||||
//!
|
||||
|
|
|
@ -6,5 +6,5 @@ publish = false
|
|||
|
||||
[dependencies]
|
||||
futures = "0.1"
|
||||
tower-service = { version = "0.1", path = "../tower-service" }
|
||||
tower-service = { version = "0.2", path = "../tower-service" }
|
||||
tokio-timer = "0.2.6"
|
||||
|
|
|
@ -6,5 +6,5 @@ publish = false
|
|||
|
||||
[dependencies]
|
||||
futures = "0.1"
|
||||
tower-service = { version = "0.1", path = "../tower-service" }
|
||||
tower-service = { version = "0.2", path = "../tower-service" }
|
||||
tower-direct-service = { version = "0.1", path = "../tower-direct-service" }
|
||||
|
|
|
@ -6,7 +6,7 @@ authors = ["Oliver Gould <ver@buoyant.io>"]
|
|||
[dependencies]
|
||||
futures = "0.1.21"
|
||||
futures-watch = { git = "https://github.com/carllerche/better-future" }
|
||||
tower-service = { version = "0.1", path = "../tower-service" }
|
||||
tower-service = { version = "0.2", path = "../tower-service" }
|
||||
|
||||
[dev-dependencies]
|
||||
tokio = "0.1.7"
|
||||
|
|
Loading…
Reference in New Issue