mirror of
https://github.com/actix/actix-extras.git
synced 2025-06-25 09:59:21 +02:00
rename to actix-web
This commit is contained in:
@ -1,11 +1,11 @@
|
||||
//! The `actix-http` prelude for library developers
|
||||
//! The `actix-web` prelude for library developers
|
||||
//!
|
||||
//! The purpose of this module is to alleviate imports of many common actix traits
|
||||
//! by adding a glob import to the top of actix heavy modules:
|
||||
//!
|
||||
//! ```
|
||||
//! # #![allow(unused_imports)]
|
||||
//! use actix_http::dev::*;
|
||||
//! use actix_web::dev::*;
|
||||
//! ```
|
||||
pub use ws;
|
||||
pub use httpcodes;
|
||||
|
@ -1,7 +1,7 @@
|
||||
// #![feature(try_trait)]
|
||||
#![allow(dead_code, unused_variables)]
|
||||
extern crate actix;
|
||||
extern crate actix_http;
|
||||
extern crate actix_web;
|
||||
extern crate tokio_core;
|
||||
extern crate env_logger;
|
||||
|
||||
@ -9,7 +9,7 @@ use std::net;
|
||||
use std::str::FromStr;
|
||||
|
||||
use actix::prelude::*;
|
||||
use actix_http::*;
|
||||
use actix_web::*;
|
||||
|
||||
struct MyRoute {req: Option<HttpRequest>}
|
||||
|
||||
|
Reference in New Issue
Block a user