Skip to content

Commit

Permalink
alias utils/dispatcher module
Browse files Browse the repository at this point in the history
  • Loading branch information
robjtede committed Aug 18, 2020
1 parent b9aba14 commit 14307b2
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
2 changes: 2 additions & 0 deletions actix-utils/CHANGES.md
Expand Up @@ -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

Expand Down
2 changes: 2 additions & 0 deletions actix-utils/src/framed.rs → actix-utils/src/dispatcher.rs
@@ -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};
Expand Down
5 changes: 4 additions & 1 deletion actix-utils/src/lib.rs
@@ -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;
Expand All @@ -15,3 +16,5 @@ pub mod stream;
pub mod task;
pub mod time;
pub mod timeout;

pub use dispatcher as framed;

0 comments on commit 14307b2

Please sign in to comment.