1
0
Fork 0
mirror of https://github.com/actix/actix-web.git synced 2024-11-14 04:41:15 +00:00

update readme

This commit is contained in:
Nikolay Kim 2017-11-04 12:36:37 -07:00
parent 41be1db8bc
commit 28652a3ba8

View file

@ -21,6 +21,15 @@ Actix web is licensed under the [Apache-2.0 license](http://opensource.org/licen
* Multipart streams
* Middlewares
## Usage
To use `actix-web`, add this to your `Cargo.toml`:
```toml
[dependencies]
actix-web = { git = "https://github.com/actix/actix-web" }
```
## HTTP/2
### Usage
@ -38,15 +47,6 @@ rust-openssl supports alpn.
actix-web = { git = "https://github.com/actix/actix-web", features=["alpn"] }
```
## Usage
To use `actix-web`, add this to your `Cargo.toml`:
```toml
[dependencies]
actix-web = { git = "https://github.com/actix/actix-web" }
```
## Example
* [Basic](https://github.com/actix/actix-web/tree/master/examples/basic.rs)