async-std icon indicating copy to clipboard operation
async-std copied to clipboard

Async version of the Rust standard library

Results 125 async-std issues
Sort by recently updated
recently updated
newest added

The `async_std::futures::timeout` helper would be much more useful if it was generic over `Error` and took a callback closure to be called when a timeout is hit, so that one...

In the style of https://github.com/async-rs/async-std/pull/836, I noticed that async-std's net is nearly the same as https://github.com/smol-rs/async-net. Would it be worth porting async-std to use async-net?

To be clear - I am not 100% sure if this is supposed to work, but I think I have reason to believe it reasonably should work. I have an...

[WakerSet](https://github.com/async-rs/async-std/blob/master/src/sync/waker_set.rs) implements its own atomic locking mechanism but is not Send or Sync. The use of it in async-std [is accompanied by](https://github.com/async-rs/async-std/blob/master/src/sync/condvar.rs#L63-L64) unsafe impl Send and Sync for containing types,...

Most of async-std's stream utilities were written before `Stream::size_hint` was released and do not implement `Stream::size_hint` method. This means that async-std's stream utilities may be a bit inefficient than other...

enhancement
good first issue

**The problem** I was working on a toy project and I couldn't get `/dev/ptmx` to work properly. To my surprise I found that `File` is actually using `spawn_blocking` instead of...

I am trying to send large files using `async-std` and have noticed that the default receiving buffer size seems to be significantly bottle-necking throughput (see [here](https://stackoverflow.com/questions/65731653/how-to-efficiently-send-large-files-across-a-single-network-connection?noredirect=1#comment116237731_65731653)). Is there a reason...

enhancement

This is a bug report related to the ~~unstable~~ `max_by_key` feature tracked in #129. It may affect `min_by_key` and other related features as well, but I haven't investigated those. The...

Design document with active discussion: https://paper.dropbox.com/doc/async-process--Ae7VXYrJ4sSucoYlMC7XYBQvAg-Fbg2Jq7UbhqihtnWpc1EY External process execution is clearly asynchronous. This API should make it possible to both asynchronously handle IO streams and also just wait for them...

enhancement