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