1
0
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:
Nikolay Kim
2017-10-14 07:59:35 -07:00
parent eedef6633c
commit 95987daa72
6 changed files with 20 additions and 21 deletions

View File

@ -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;

View File

@ -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>}

View File

@ -7,9 +7,9 @@
//!
//! ```rust
//! extern crate actix;
//! extern crate actix_http;
//! extern crate actix_web;
//! use actix::prelude::*;
//! use actix_http::*;
//! use actix_web::*;
//!
//! // WebSocket Route
//! struct WsRoute;