File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11#![ doc = include_str ! ( "../README.md" ) ]
22#![ warn( missing_docs) ]
33#![ 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) ]
49#![ feature( async_fn_in_trait, impl_trait_projections) ]
510
611pub mod delay;
Original file line number Diff line number Diff line change 22#![ warn( missing_docs) ]
33#![ cfg_attr( not( feature = "std" ) , no_std) ]
44#![ 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) ) ]
510#![ cfg_attr( feature = "async" , feature( async_fn_in_trait, impl_trait_projections) ) ]
611
712// 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 11#![ cfg_attr( not( feature = "std" ) , no_std) ]
22#![ 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+ ) ]
313#![ cfg_attr(
414 any( feature = "tokio-1" , feature = "futures-03" ) ,
515 feature( async_fn_in_trait, impl_trait_projections)
616) ]
7- #![ warn( missing_docs) ]
8- #![ doc = include_str ! ( "../README.md" ) ]
917
1018#[ cfg( feature = "std" ) ]
1119#[ 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) ]
21#![ cfg_attr( not( feature = "std" ) , no_std) ]
32#![ cfg_attr( docsrs, feature( doc_cfg) ) ]
43#![ warn( missing_docs) ]
54#![ 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) ]
611
712#[ cfg( feature = "alloc" ) ]
813extern crate alloc;
You can’t perform that action at this time.
0 commit comments