meta_tools/
lib.rs

1#![ cfg_attr( feature = "no_std", no_std ) ]
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/meta_tools/latest/meta_tools/" ) ]
5#![ doc = include_str!( concat!( env!( "CARGO_MANIFEST_DIR" ), "/", "Readme.md" ) ) ]
6
7/// Namespace with dependencies.
8
9#[ cfg( feature = "enabled" ) ]
10pub mod dependency
11{
12
13  // #[ cfg( feature = "meta_mod_interface" ) ]
14  pub use ::mod_interface;
15  #[ cfg( feature = "meta_for_each" ) ]
16  pub use ::for_each;
17  #[ cfg( feature = "meta_impls_index" ) ]
18  pub use ::impls_index;
19
20  #[ cfg( feature = "meta_constructors" ) ]
21  pub use ::literally;
22  #[ cfg( feature = "meta_idents_concat" ) ]
23  pub use ::paste;
24
25  // #[ cfg( feature = "former" ) ]
26  // pub use ::former;
27  // #[ cfg( feature = "options" ) ]
28  // pub use ::woptions;
29
30}
31
32mod private {}
33
34//
35
36// qqq : meta interface should be optional dependancy. please fix writing equivalent code manually
37#[ cfg( feature = "enabled" ) ]
38mod_interface::mod_interface!
39{
40  // #![ debug ]
41
42  layer meta;
43
44}