mirror of
https://github.com/actix/actix-extras.git
synced 2024-11-30 10:32:55 +01:00
update readme
This commit is contained in:
parent
41be1db8bc
commit
28652a3ba8
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 New Issue
Block a user