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

NOTE: Not a complaint just an observation that might be useful to discuss / design / improve that scheduling model. Hi I ran our benchmarks with 1.6.2 and current master...

In https://github.com/async-rs/async-std/issues/212#issuecomment-535461575 I mentioned it'd be interesting to investigate broadcasting channels. I initially thought we might want to create a new type for this, possibly in a separate library, but...

api design

In `[email protected]`, [`async_std::stream::interval`](https://docs.rs/async-std/1.6.0-beta.1/async_std/stream/fn.interval.html) is feature gated by the `"unstable"` feature. Enabling that feature [brings in `smol`](https://github.com/async-rs/async-std/blob/v1.6.0-beta.1/Cargo.toml#L45), which depends on `socket2`, which at this time cannot be compiled for the `wasm32-unknown-unknown`...

Recently I encountered a bug where when a buffer associated with a file descriptor(`TcpStream`) is filled, `stream.write` will block forever. Bugs of this nature are very hard to find. [`std::net::TcpStream`](https://doc.rust-lang.org/std/net/struct.TcpStream.html#method.set_write_timeout)...

I tried to implement minimalist `Stream` over lines in a `BufReader` using `read_line` method, but it drops some data when boundary of its buffer is crossed. Using `async_std::io::Lines` does not...

I want to implement a database connection pool in async-std, and I need to create a queue in each system thread.However, async-std does not provide an associated api, which means...

As title. This is an issue opening from what we found in https://github.com/rmanoka/async-scoped/issues/2 Below is the code snippet that reproduce the problem, by the author of project there: ``` #[test]...

``` = note: /usr/bin/ld: /home/runner/work/async-std/async-std/target/powerpc64-unknown-linux-gnu/debug/deps/async_std-3b7f3ef723cee23e.109kgzux37i3vv2s.rcgu.o: Relocations in generic ELF (EM: 21) /usr/bin/ld: /home/runner/work/async-std/async-std/target/powerpc64-unknown-linux-gnu/debug/deps/async_std-3b7f3ef723cee23e.109kgzux37i3vv2s.rcgu.o: Relocations in generic ELF (EM: 21) /usr/bin/ld: /home/runner/work/async-std/async-std/target/powerpc64-unknown-linux-gnu/debug/deps/async_std-3b7f3ef723cee23e.109kgzux37i3vv2s.rcgu.o: Relocations in generic ELF (EM: 21) /usr/bin/ld: /home/runner/work/async-std/async-std/target/powerpc64-unknown-linux-gnu/debug/deps/async_std-3b7f3ef723cee23e.109kgzux37i3vv2s.rcgu.o: Relocations...

It'd be cool if `async-std` worked in the browser out of the box. Not everything can be supported, but we *can* support a smaller subset. ## Tasks - [x] no...

enhancement
api design

Hi. I'm implementing a library at a low level which allocates and frees memory manually. To try to keep it correct I run example binaries and tests under Valgrind a...

enhancement