alias utils/dispatcher module

This commit is contained in:
Rob Ede 2020-08-18 17:48:48 +01:00
parent b9aba14563
commit 14307b2ca9
No known key found for this signature in database
GPG Key ID: C2A3B36E841A91E6
3 changed files with 8 additions and 1 deletions

View File

@ -4,6 +4,8 @@
* Upgrade `tokio-util` to `0.3`.
* Remove unsound custom Cell and use `std::cell::RefCell` instead, as well as `actix-service`.
* Provide correctly spelled `LocalWaker::is_registered` method and deprecate the replaced.
* Alias `framed` module as `dispatcher`.
## [1.0.6] - 2020-01-08

View File

@ -1,5 +1,7 @@
//! Framed dispatcher service and related utilities
#![allow(type_alias_bounds)]
use std::pin::Pin;
use std::task::{Context, Poll};
use std::{fmt, mem};

View File

@ -1,11 +1,12 @@
//! Actix utils - various helper services
#![deny(rust_2018_idioms)]
#![allow(clippy::type_complexity)]
pub mod condition;
pub mod counter;
pub mod dispatcher;
pub mod either;
pub mod framed;
pub mod inflight;
pub mod keepalive;
pub mod mpsc;
@ -15,3 +16,5 @@ pub mod stream;
pub mod task;
pub mod time;
pub mod timeout;
pub use dispatcher as framed;