4141#![ warn( missing_docs) ]
4242#![ deny( rustdoc:: broken_intra_doc_links) ]
4343
44+ #[ cfg( feature = "bilock" ) ]
45+ mod bilock;
46+ #[ cfg( feature = "event" ) ]
47+ mod event;
4448#[ cfg( feature = "mutex" ) ]
4549mod mutex;
46-
4750#[ cfg( feature = "waker_slot" ) ]
4851mod waker_slot;
4952
50- #[ cfg( feature = "event" ) ]
51- mod event;
52-
5353mod atomic;
54- mod bilock;
5554mod flag;
5655mod mutex_blocking;
5756mod shared;
@@ -63,6 +62,12 @@ pub mod sync {
6362 #[ cfg( feature = "watch" ) ]
6463 pub use see:: sync as watch;
6564
65+ #[ doc( inline) ]
66+ #[ cfg( feature = "bilock" ) ]
67+ pub use crate :: bilock:: sync as bilock;
68+ #[ doc( inline) ]
69+ #[ cfg( feature = "event" ) ]
70+ pub use crate :: event:: sync as event;
6671 #[ doc( inline) ]
6772 #[ cfg( feature = "mutex" ) ]
6873 pub use crate :: mutex:: sync as mutex;
@@ -71,8 +76,8 @@ pub mod sync {
7176 pub use crate :: waker_slot:: sync as waker_slot;
7277 #[ doc( inline) ]
7378 pub use crate :: {
74- atomic:: sync as atomic, bilock :: sync as bilock , event :: sync as event , flag :: sync as flag ,
75- mutex_blocking :: sync as mutex_blocking , shared:: sync as shared,
79+ atomic:: sync as atomic, flag :: sync as flag , mutex_blocking :: sync as mutex_blocking ,
80+ shared:: sync as shared,
7681 } ;
7782}
7883
@@ -83,6 +88,12 @@ pub mod unsync {
8388 #[ cfg( feature = "watch" ) ]
8489 pub use see:: unsync as watch;
8590
91+ #[ doc( inline) ]
92+ #[ cfg( feature = "bilock" ) ]
93+ pub use crate :: bilock:: unsync as bilock;
94+ #[ doc( inline) ]
95+ #[ cfg( feature = "event" ) ]
96+ pub use crate :: event:: unsync as event;
8697 #[ doc( inline) ]
8798 #[ cfg( feature = "mutex" ) ]
8899 pub use crate :: mutex:: unsync as mutex;
@@ -91,8 +102,8 @@ pub mod unsync {
91102 pub use crate :: waker_slot:: unsync as waker_slot;
92103 #[ doc( inline) ]
93104 pub use crate :: {
94- atomic:: unsync as atomic, bilock :: unsync as bilock , event :: unsync as event ,
95- flag :: unsync as flag , mutex_blocking :: unsync as mutex_blocking , shared:: unsync as shared,
105+ atomic:: unsync as atomic, flag :: unsync as flag , mutex_blocking :: unsync as mutex_blocking ,
106+ shared:: unsync as shared,
96107 } ;
97108}
98109
0 commit comments