mod_interface/
lib.rs

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