mirror of
https://github.com/actix/actix-extras.git
synced 2024-11-28 01:32:57 +01:00
use actix-web from master
This commit is contained in:
parent
191b53bd7c
commit
fdb7419e24
@ -31,6 +31,14 @@ Actix web is a simple, pragmatic, extremely fast, web framework for Rust.
|
|||||||
|
|
||||||
## Example
|
## Example
|
||||||
|
|
||||||
|
At the moment all examples uses actix-web master.
|
||||||
|
|
||||||
|
```toml
|
||||||
|
[dependencies]
|
||||||
|
actix = "0.5"
|
||||||
|
actix-web = { git="https://github.com/actix/actix-web.git" }
|
||||||
|
```
|
||||||
|
|
||||||
```rust
|
```rust
|
||||||
extern crate actix_web;
|
extern crate actix_web;
|
||||||
use actix_web::{server, App, Path};
|
use actix_web::{server, App, Path};
|
||||||
|
@ -17,7 +17,7 @@ contains the following:
|
|||||||
```toml
|
```toml
|
||||||
[dependencies]
|
[dependencies]
|
||||||
actix = "0.5"
|
actix = "0.5"
|
||||||
actix-web = "0.4"
|
actix-web = { git="https://github.com/actix/actix-web.git" }
|
||||||
```
|
```
|
||||||
|
|
||||||
In order to implement a web server, we first need to create a request handler.
|
In order to implement a web server, we first need to create a request handler.
|
||||||
|
Loading…
Reference in New Issue
Block a user