tower/tower-util
Jon Gjengset 395889c763
Make Ready only take Service by reference (#340)
Rather than consuming `self` and returning `(Self, _)`. This did mean
that a few crates that depended on `Ready` to own the `Service` and
provide it once it was ready had to change to call `poll_ready`
directly. Which in turn meant adding in some PhantomData<Request> so
that the impl blocks wouldn't be under-constrainted. Take, for example:

```
impl<K, S: Service<Req>, Req> Future for UnreadyService<K, S>
```

would fail to compile with

```
error[E0207]: the type parameter `Req` is not constrained by the impl trait, self type, or predicates
```
2019-09-11 15:49:51 -04:00
..
src Make Ready only take Service by reference (#340) 2019-09-11 15:49:51 -04:00
tests Update tower-util and tower to std::future (#330) 2019-09-10 14:51:07 -04:00
CHANGELOG.md Update tower-util and tower to std::future (#330) 2019-09-10 14:51:07 -04:00
Cargo.toml Pin all the alpha based dependencies (#339) 2019-09-11 13:57:27 -04:00
LICENSE util: rename tower-service-util -> tower-util (#212) 2019-03-27 16:34:56 -07:00
README.md Prepare release (#273) 2019-04-26 21:31:25 -07:00

README.md

Tower Service Util

Utilities for working with Service.

License

This project is licensed under the MIT license.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in Tower by you, shall be licensed as MIT, without any additional terms or conditions.