mirror of
https://github.com/actix/actix-web.git
synced 2024-12-22 16:16:40 +00:00
use actix-web from master
This commit is contained in:
parent
191b53bd7c
commit
fdb7419e24
2 changed files with 9 additions and 1 deletions
|
@ -31,6 +31,14 @@ Actix web is a simple, pragmatic, extremely fast, web framework for Rust.
|
|||
|
||||
## 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
|
||||
extern crate actix_web;
|
||||
use actix_web::{server, App, Path};
|
||||
|
|
|
@ -17,7 +17,7 @@ contains the following:
|
|||
```toml
|
||||
[dependencies]
|
||||
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.
|
||||
|
|
Loading…
Reference in a new issue