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

In https://github.com/async-rs/async-std/pull/251 we discussed the option of adding a `task::spawn_local` method, similar to @alexcrichton's design of [`spawn_local` in wasm-bindgen-futures](https://docs.rs/wasm-bindgen-futures/0.4.3/wasm_bindgen_futures/fn.spawn_local.html). This is a tracking issue for that design to get feedback...

api design

It seems I cannot have `async_std::bench` attribute even when I activate `attributes` feature

question/feedback

This code gets takes the TcpStream by value, gets its fd, and immediately destroys the TcpStream, likely destroying the fd: ```rust impl IntoRawFd for TcpStream { fn into_raw_fd(self) -> RawFd...

`async_std::task::spawn` spawns an asynchronous task. `async_std::task::spawn_blocking` spawns a blocking task. Both require the future/function to be `'static`. `async_std::task::block_on` is like `spawn` but does not require `'static`. In my mind this...

I wasn't sure whether to file this in async-tls or in this repository, since the two crates are intertwined for this. When using `async-tls` and `BufReader`, lines larger than the...

It would be useful to have a `StreamExt` method to “fork” a stream with `Item: Clone`, returning another stream which receives the same items from that point.

When you write a simple consumer and feed it an entire file of multiple lines over stdin the behavior is not as expected: ```rust fn main() { async_std::task::block_on(async { let...

Our [stream combinators](https://docs.rs/async-std/0.99.7/async_std/stream/trait.Stream.html) operate on asynchronous data, but are themselves synchronous. This means it's not possible to for example filter or map a stream based on other async operations. Which...

enhancement