mirror of
https://github.com/actix/actix-web.git
synced 2024-11-25 19:11:10 +00:00
update readme
This commit is contained in:
parent
41be1db8bc
commit
28652a3ba8
1 changed files with 9 additions and 9 deletions
18
README.md
18
README.md
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue