1
0
Fork 0
mirror of https://github.com/actix/actix-web.git synced 2024-11-22 09:31:10 +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 * Multipart streams
* Middlewares * 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 ## HTTP/2
### Usage ### Usage
@ -38,15 +47,6 @@ rust-openssl supports alpn.
actix-web = { git = "https://github.com/actix/actix-web", features=["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 ## Example
* [Basic](https://github.com/actix/actix-web/tree/master/examples/basic.rs) * [Basic](https://github.com/actix/actix-web/tree/master/examples/basic.rs)