ntex_util/
lib.rs

1//! Utilities for ntex framework
2#![deny(rust_2018_idioms, unreachable_pub, missing_debug_implementations)]
3
4pub mod channel;
5pub mod error;
6pub mod future;
7pub mod services;
8pub mod task;
9pub mod time;
10
11pub use futures_core::Stream;
12pub use ntex_rt::spawn;
13
14pub type HashMap<K, V> = std::collections::HashMap<K, V, fxhash::FxBuildHasher>;
15pub type HashSet<V> = std::collections::HashSet<V, fxhash::FxBuildHasher>;
16
17#[doc(hidden)]
18#[deprecated]
19pub use std::task::ready;