File tree 4 files changed +26
-3
lines changed
4 files changed +26
-3
lines changed Original file line number Diff line number Diff line change 1
1
#![ doc = include_str ! ( "../README.md" ) ]
2
2
#![ warn( missing_docs) ]
3
3
#![ no_std]
4
+ // disable warning for already-stabilized features.
5
+ // Needed to pass CI, because we deny warnings.
6
+ // We don't immediately remove them to not immediately break older nightlies.
7
+ // When all features are stable, we'll remove them.
8
+ #![ allow( stable_features) ]
4
9
#![ feature( async_fn_in_trait, impl_trait_projections) ]
5
10
6
11
pub mod delay;
Original file line number Diff line number Diff line change 2
2
#![ warn( missing_docs) ]
3
3
#![ cfg_attr( not( feature = "std" ) , no_std) ]
4
4
#![ cfg_attr( docsrs, feature( doc_cfg) ) ]
5
+ // disable warning for already-stabilized features.
6
+ // Needed to pass CI, because we deny warnings.
7
+ // We don't immediately remove them to not immediately break older nightlies.
8
+ // When all features are stable, we'll remove them.
9
+ #![ cfg_attr( feature = "async" , allow( stable_features) ) ]
5
10
#![ cfg_attr( feature = "async" , feature( async_fn_in_trait, impl_trait_projections) ) ]
6
11
7
12
// needed to prevent defmt macros from breaking, since they emit code that does `defmt::blahblah`.
Original file line number Diff line number Diff line change 1
1
#![ cfg_attr( not( feature = "std" ) , no_std) ]
2
2
#![ cfg_attr( docsrs, feature( doc_cfg) ) ]
3
+ #![ warn( missing_docs) ]
4
+ #![ doc = include_str ! ( "../README.md" ) ]
5
+ // disable warning for already-stabilized features.
6
+ // Needed to pass CI, because we deny warnings.
7
+ // We don't immediately remove them to not immediately break older nightlies.
8
+ // When all features are stable, we'll remove them.
9
+ #![ cfg_attr(
10
+ any( feature = "tokio-1" , feature = "futures-03" ) ,
11
+ allow( stable_features)
12
+ ) ]
3
13
#![ cfg_attr(
4
14
any( feature = "tokio-1" , feature = "futures-03" ) ,
5
15
feature( async_fn_in_trait, impl_trait_projections)
6
16
) ]
7
- #![ warn( missing_docs) ]
8
- #![ doc = include_str ! ( "../README.md" ) ]
9
17
10
18
#[ cfg( feature = "std" ) ]
11
19
#[ cfg_attr( docsrs, doc( cfg( feature = "std" ) ) ) ]
Original file line number Diff line number Diff line change 1
- #![ feature( async_fn_in_trait, impl_trait_projections) ]
2
1
#![ cfg_attr( not( feature = "std" ) , no_std) ]
3
2
#![ cfg_attr( docsrs, feature( doc_cfg) ) ]
4
3
#![ warn( missing_docs) ]
5
4
#![ doc = include_str ! ( "../README.md" ) ]
5
+ // disable warning for already-stabilized features.
6
+ // Needed to pass CI, because we deny warnings.
7
+ // We don't immediately remove them to not immediately break older nightlies.
8
+ // When all features are stable, we'll remove them.
9
+ #![ allow( stable_features) ]
10
+ #![ feature( async_fn_in_trait, impl_trait_projections) ]
6
11
7
12
#[ cfg( feature = "alloc" ) ]
8
13
extern crate alloc;
You can’t perform that action at this time.
0 commit comments