1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
#![warn(
rust_2018_idioms,
unreachable_pub,
)]
#![allow(
type_alias_bounds,
clippy::type_complexity,
clippy::borrow_interior_mutable_const,
clippy::needless_doctest_main,
clippy::too_many_arguments,
clippy::new_without_default
)]
#[macro_use]
extern crate log;
#[macro_use]
extern crate derive_more;
pub use ntex_rt_macros::{main, test};
pub mod channel;
pub mod connect;
pub mod framed;
pub mod http;
pub mod server;
pub mod task;
pub mod testing;
pub mod util;
pub mod web;
pub mod ws;
pub use self::service::*;
pub mod codec {
pub use ntex_codec::*;
}
pub mod router {
pub use ntex_router::*;
}
pub mod rt {
pub use ntex_rt::*;
}
pub mod service {
pub use ntex_service::*;
}
type HashMap<K, V> = std::collections::HashMap<K, V, ahash::RandomState>;
type HashSet<V> = std::collections::HashSet<V, ahash::RandomState>;