async_tools/
lib.rs

1
2#![ doc( html_logo_url = "https://raw.githubusercontent.com/Wandalen/wTools/master/asset/img/logo_v3_trans_square.png" ) ]
3#![ doc( html_favicon_url = "https://raw.githubusercontent.com/Wandalen/wTools/alpha/asset/img/logo_v3_trans_square_icon_small_v2.ico" ) ]
4#![ doc( html_root_url = "https://docs.rs/async_tools/latest/async_tools/" ) ]
5#![ doc = include_str!( concat!( env!( "CARGO_MANIFEST_DIR" ), "/", "Readme.md" ) ) ]
6
7/// Namespace with dependencies.
8#[ cfg( feature = "enabled" ) ]
9pub mod dependency
10{
11  pub use ::async_trait;
12  pub use ::async_from;
13}
14
15/// Internal namespace.
16#[ cfg( feature = "enabled" ) ]
17mod private
18{
19}
20
21#[ cfg( feature = "enabled" ) ]
22#[ doc( inline ) ]
23#[ allow( unused_imports ) ]
24pub use own::*;
25
26/// Own namespace of the module.
27#[ cfg( feature = "enabled" ) ]
28#[ allow( unused_imports ) ]
29pub mod own
30{
31  use super::*;
32  #[ doc( inline ) ]
33  pub use orphan::*;
34
35  #[ doc( inline ) ]
36  pub use ::async_from::orphan::*;
37
38}
39
40/// Orphan namespace of the module.
41#[ cfg( feature = "enabled" ) ]
42#[ allow( unused_imports ) ]
43pub mod orphan
44{
45  use super::*;
46  #[ doc( inline ) ]
47  pub use exposed::*;
48
49}
50
51/// Exposed namespace of the module.
52#[ cfg( feature = "enabled" ) ]
53#[ allow( unused_imports ) ]
54pub mod exposed
55{
56  use super::*;
57
58  #[ doc( inline ) ]
59  pub use prelude::*;
60
61  #[ doc( inline ) ]
62  pub use ::async_trait::async_trait;
63
64  #[ doc( inline ) ]
65  pub use ::async_from::exposed::*;
66
67}
68
69/// Prelude to use essentials: `use my_module::prelude::*`.
70#[ cfg( feature = "enabled" ) ]
71#[ allow( unused_imports ) ]
72pub mod prelude
73{
74  use super::*;
75
76  #[ doc( inline ) ]
77  pub use ::async_from::prelude::*;
78
79}