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{
14  // pub use mod_interface_runtime;
15  pub use mod_interface_meta;
16}
17
18#[ doc( inline ) ]
19#[ allow( unused_imports ) ]
20#[ cfg( feature = "enabled" ) ]
21pub use own::*;
22
23/// Own namespace of the module.
24#[ cfg( feature = "enabled" ) ]
25#[ allow( unused_imports ) ]
26pub mod own
27{
28
29  use super::*;
30  #[ doc( inline ) ]
31  pub use orphan::*;
32
33  #[ doc( inline ) ]
34  #[ allow( unused_imports ) ]
35  pub use mod_interface_meta as meta;
36}
37
38/// Orphan namespace of the module.
39#[ cfg( feature = "enabled" ) ]
40#[ allow( unused_imports ) ]
41pub mod orphan
42{
43
44  use super::*;
45  #[ doc( inline ) ]
46  pub use exposed::*;
47}
48
49/// Exposed namespace of the module.
50#[ cfg( feature = "enabled" ) ]
51#[ allow( unused_imports ) ]
52pub mod exposed
53{
54
55  use super::*;
56  #[ doc( inline ) ]
57  pub use prelude::*;
58}
59
60/// Prelude to use essentials: `use my_module::prelude::*`.
61#[ cfg( feature = "enabled" ) ]
62#[ allow( unused_imports ) ]
63pub mod prelude
64{
65  use super::*;
66  #[ doc( inline ) ]
67  #[ allow( unused_imports ) ]
68  pub use mod_interface_meta::*;
69}