actix_web reexports actix
Re-export actix::prelude::* as actix_web::actix module. So no need to explicitly import it or add it in Cargo.toml
This commit is contained in:
parent
ca4cc0a941
commit
c91c994c8c
2 changed files with 1 additions and 2 deletions
|
@ -6,7 +6,6 @@ license = "MIT"
|
||||||
readme = "README.md"
|
readme = "README.md"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
actix = "*"
|
|
||||||
actix-web = { git = "https://github.com/actix/actix-web.git" }
|
actix-web = { git = "https://github.com/actix/actix-web.git" }
|
||||||
bytes = "0.4"
|
bytes = "0.4"
|
||||||
futures = "0.1"
|
futures = "0.1"
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
extern crate actix_web;
|
extern crate actix_web;
|
||||||
extern crate actix;
|
|
||||||
extern crate bytes;
|
extern crate bytes;
|
||||||
extern crate futures;
|
extern crate futures;
|
||||||
extern crate tar;
|
extern crate tar;
|
||||||
|
@ -10,6 +9,7 @@ mod channel;
|
||||||
mod web;
|
mod web;
|
||||||
|
|
||||||
use actix_web::server;
|
use actix_web::server;
|
||||||
|
use actix_web::actix;
|
||||||
|
|
||||||
use std::env;
|
use std::env;
|
||||||
use std::io;
|
use std::io;
|
||||||
|
|
Loading…
Add table
Reference in a new issue