mirror of
https://github.com/actix/actix-web.git
synced 2024-11-26 03:21:08 +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
|
* 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)
|
||||||
|
|
Loading…
Reference in a new issue