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

Async version of the Rust standard library

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

It's there a way of piping the output of a command into another? I'm trying to make this example working. But the `stdin` method expect a type `T: Into` as...

Ahoj! This: ``` async_std::future::pending::() .timeout(Duration::MAX) .await?; ``` Panics: > thread 'main' panicked at 'overflow when adding duration to instant', library/std/src/time.rs:374:33 Proposal: use some form of saturating or checked add. Many...

I would love to use [`chunks`](https://docs.rs/futures/0.3.15/futures/stream/trait.StreamExt.html#method.chunks) on streams. Is there a technical reason why async-std does not support this? Or is it just missing because nobody added it so far?

enhancement

Hello, I would like to close IO asynchronously. Please add close to WriteExt as seen in futures: https://docs.rs/futures-lite/1.12.0/futures_lite/io/trait.AsyncWriteExt.html

Currently, `async-io` is marked as an optional dependency in `Cargo.toml`, but when not on wasm, it's always turned on on `async-global-executor`. Would it be possible to make it truly optional...

enhancement

I'm a bit in rush. There seems to be an issue with async-std/smol/wepoll under wine, which is rooted in usage of an undocumented windows API that wine doesn't support. https://bugs.winehq.org/show_bug.cgi?id=50520...

I have an interval stream that will be called when a request coming, The problem is after dropping websocket connection request, the interval doesn't stop and still continue to stream...

It would be neat if `println!("Hello, world");` could raise a compiler warning because of the missing `.await`. Thanks!

This is very easy to reproduce: ```rust use async_std::prelude::*; fn main() { async_std::task::spawn(async { let mut buf: Vec = vec![]; write!(&mut buf, "foo").await; }); } ``` This leads to the...

ergonomics

Hi! Originally opened this issue in the `sqlx` repo, but I (think) I've isolated the issue to `async-std`, since it works with Tokio. TLDR: for some reason, after adding a...