2017-09-18 12:05:09 -07:00
|
|
|
# tower
|
2016-08-26 16:27:58 -07:00
|
|
|
|
2017-09-18 12:05:09 -07:00
|
|
|
fn(Request) -> Future<Response>
|
2016-08-26 16:27:58 -07:00
|
|
|
|
2017-09-18 12:05:09 -07:00
|
|
|
[![Build Status](https://travis-ci.org/carllerche/tower.svg?branch=master)](https://travis-ci.org/carllerche/tower)
|
2016-08-26 16:27:58 -07:00
|
|
|
|
|
|
|
## Usage
|
|
|
|
|
|
|
|
First, add this to your `Cargo.toml`:
|
|
|
|
|
|
|
|
```toml
|
|
|
|
[dependencies]
|
2017-09-18 12:05:09 -07:00
|
|
|
tower = { git = "https://github.com/carllerche/tower" }
|
2016-08-26 16:27:58 -07:00
|
|
|
```
|
|
|
|
|
|
|
|
Next, add this to your crate:
|
|
|
|
|
|
|
|
```rust
|
2017-09-18 12:05:09 -07:00
|
|
|
extern crate tower;
|
2016-08-26 16:27:58 -07:00
|
|
|
```
|
|
|
|
|
2017-01-11 09:20:40 -08:00
|
|
|
You can find extensive examples and tutorials in addition to the [API
|
2017-09-18 12:05:09 -07:00
|
|
|
documentation](https://docs.rs/tower) at
|
|
|
|
[https://tower.rs](https://tower.rs)
|