@@ -87,6 +87,7 @@ pub mod compat {
87
87
88
88
pub use futures_util:: compat:: {
89
89
Compat ,
90
+ CompatSink ,
90
91
Compat01As03 ,
91
92
Compat01As03Sink ,
92
93
Executor01Future ,
@@ -305,7 +306,7 @@ pub mod sink {
305
306
pub use futures_util:: sink:: {
306
307
Close , Flush , Send , SendAll , SinkErrInto , SinkMapErr , With ,
307
308
SinkExt , Fanout , Drain , DrainError , drain,
308
- // WithFlatMap,
309
+ WithFlatMap ,
309
310
} ;
310
311
311
312
#[ cfg( feature = "alloc" ) ]
@@ -340,9 +341,9 @@ pub mod stream {
340
341
unfold, Unfold ,
341
342
342
343
StreamExt ,
343
- Chain , Collect , Concat , Filter , FilterMap , Flatten , Fold , Forward , ForEach , Fuse ,
344
- StreamFuture , Inspect , Map , Next , Peekable , Select , Skip , SkipWhile ,
345
- Take , TakeWhile , Then , Zip
344
+ Chain , Collect , Concat , Filter , FilterMap , Flatten , Fold , Forward ,
345
+ ForEach , Fuse , StreamFuture , Inspect , Map , Next , SelectNextSome ,
346
+ Peekable , Select , Skip , SkipWhile , Take , TakeWhile , Then , Zip
346
347
} ;
347
348
348
349
#[ cfg( feature = "alloc" ) ]
@@ -361,23 +362,25 @@ pub mod stream {
361
362
futures_unordered, FuturesUnordered ,
362
363
363
364
// For StreamExt:
364
- BufferUnordered , Buffered , SplitStream , SplitSink ,
365
+ BufferUnordered , Buffered , ForEachConcurrent , SplitStream , SplitSink ,
366
+ ReuniteError ,
365
367
366
368
select_all, SelectAll ,
367
369
} ;
368
370
369
371
#[ cfg( feature = "std" ) ]
370
372
pub use futures_util:: stream:: {
371
373
// For StreamExt:
372
- CatchUnwind , ReuniteError ,
374
+ CatchUnwind ,
373
375
} ;
374
376
375
377
pub use futures_util:: try_stream:: {
376
378
TryStreamExt ,
377
- TryNext , TryForEach , ErrInto ,
379
+ ErrInto , MapOk , MapErr ,
380
+ TryNext , TryForEach , TryFilterMap ,
378
381
TryCollect , TryFold , TrySkipWhile ,
379
382
IntoStream ,
380
- // ToDo: AndThen, ErrInto, InspectErr, MapErr , OrElse
383
+ // ToDo: AndThen, InspectErr, OrElse
381
384
} ;
382
385
383
386
#[ cfg_attr(
@@ -387,9 +390,12 @@ pub mod stream {
387
390
#[ cfg( feature = "alloc" ) ]
388
391
pub use futures_util:: try_stream:: {
389
392
// For TryStreamExt:
390
- TryBufferUnordered ,
391
- // ToDo: AndThen, InspectErr, MapErr, OrElse
393
+ TryBufferUnordered , TryForEachConcurrent ,
394
+ // ToDo: AndThen, InspectErr, OrElse
392
395
} ;
396
+
397
+ #[ cfg( feature = "std" ) ]
398
+ pub use futures_util:: try_stream:: IntoAsyncRead ;
393
399
}
394
400
395
401
pub mod task {
@@ -410,18 +416,18 @@ pub mod task {
410
416
411
417
pub use futures_util:: task:: noop_waker;
412
418
419
+ #[ cfg( feature = "std" ) ]
420
+ pub use futures_util:: task:: noop_waker_ref;
421
+
422
+ #[ cfg( feature = "alloc" ) ]
423
+ pub use futures_util:: task:: { SpawnExt , LocalSpawnExt } ;
424
+
413
425
#[ cfg_attr(
414
426
feature = "cfg-target-has-atomic" ,
415
427
cfg( all( target_has_atomic = "cas" , target_has_atomic = "ptr" ) )
416
428
) ]
417
429
#[ cfg( feature = "alloc" ) ]
418
- pub use futures_util:: task:: {
419
- WakerRef , waker_ref, ArcWake ,
420
- SpawnExt , LocalSpawnExt ,
421
- } ;
422
-
423
- #[ cfg( feature = "std" ) ]
424
- pub use futures_util:: task:: noop_waker_ref;
430
+ pub use futures_util:: task:: { WakerRef , waker_ref, ArcWake } ;
425
431
426
432
#[ cfg_attr(
427
433
feature = "cfg-target-has-atomic" ,
0 commit comments