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(
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/collection_tools/latest/collection_tools/" ) ]
7#![ cfg_attr( doc, doc = include_str!( concat!( env!( "CARGO_MANIFEST_DIR" ), "/", "readme.md" ) ) ) ]
8#![ cfg_attr( not( doc ), doc = "Collection tools for Rust" ) ]
9#![ allow( clippy::mod_module_files ) ]
10#[ cfg( feature = "enabled" ) ]
16#[ cfg( any( feature = "use_alloc", not( feature = "no_std" ) ) ) ]
17pub mod collection;
18
19#[ cfg( feature = "enabled" ) ]
25pub mod dependency
26{
27 #[ cfg( feature = "use_alloc" ) ]
28 pub use ::hashbrown;
29}
30
31#[ doc( inline ) ]
32#[ allow( unused_imports ) ]
33#[ cfg( feature = "enabled" ) ]
34#[ allow( clippy::pub_use ) ]
35pub use own::*;
36
37#[ cfg( feature = "enabled" ) ]
39#[ allow( unused_imports ) ]
40pub mod own
41{
42 #[ doc( inline ) ]
45 #[ allow( clippy::useless_attribute, clippy::pub_use ) ]
46 pub use super::orphan::*;
47
48 #[ doc( inline ) ]
49 #[ allow( clippy::useless_attribute, clippy::pub_use ) ]
50 #[ cfg( any( feature = "use_alloc", not( feature = "no_std" ) ) ) ]
51 pub use super::collection::own::*;
52}
53
54#[ cfg( feature = "enabled" ) ]
56#[ allow( unused_imports ) ]
57pub mod orphan
58{
59
60 use super::*;
61 #[ doc( inline ) ]
62 #[ allow( clippy::useless_attribute, clippy::pub_use ) ]
63 pub use exposed::*;
64
65 #[ doc( inline ) ]
66 #[ allow( clippy::useless_attribute, clippy::pub_use ) ]
67 #[ cfg( any( feature = "use_alloc", not( feature = "no_std" ) ) ) ]
68 pub use collection::orphan::*;
69}
70
71#[ cfg( feature = "enabled" ) ]
73#[ allow( unused_imports ) ]
74pub mod exposed
75{
76
77 use super::*;
78
79 #[ doc( inline ) ]
80 #[ allow( clippy::useless_attribute, clippy::pub_use ) ]
81 #[ cfg( any( feature = "use_alloc", not( feature = "no_std" ) ) ) ]
82 pub use prelude::*;
83
84 #[ doc( inline ) ]
85 #[ allow( clippy::useless_attribute, clippy::pub_use ) ]
86 #[ cfg( any( feature = "use_alloc", not( feature = "no_std" ) ) ) ]
87 pub use collection::exposed::*;
88}
89
90#[ cfg( feature = "enabled" ) ]
92#[ cfg( any( feature = "use_alloc", not( feature = "no_std" ) ) ) ]
93#[ allow( unused_imports ) ]
94pub mod prelude
95{
96 use super::collection;
97
98 #[ doc( inline ) ]
99 #[ allow( clippy::useless_attribute, clippy::pub_use ) ]
100 pub use collection::prelude::*;
101}
102
103#[ cfg( feature = "enabled" ) ]
105#[ cfg( all( feature = "no_std", not( feature = "use_alloc" ) ) ) ]
106#[ allow( unused_imports ) ]
107pub mod prelude
108{
109}
110
111