async-std
async-std copied to clipboard
Async version of the Rust standard library
The `async_std::future::timeout` function panics if a large duration is provided. This should either be documented as a possible panic conditon or changed to no longer panic. Repro: ```rust #[async_std::main] async...
Hello, I'm posting this idea to many Rust async runtimes discussion threads in order to push for the alternative design of the task spawn API described by @matklad in https://matklad.github.io/2023/12/10/nsfw.html...
I might be doing PEBCAK, but the second example in: https://docs.rs/async-std/latest/async_std/#examples , namely: ``` use async_std::prelude::*; #[async_std::main] async fn main() { let a = async { 1u8 }; let b...
Since Unix domain sockets are available in async-std, I think it is also in scope to add support for Windows named pipes. There already exists a crate on top on...
Is there a way to use async-std in Windows cdylibs that are being loaded/unloaded with `LoadLibrary`/`FreeLibrary`? For this we'd have to ensure that before `DllMain` with `PROCESS_DETACH` returns, ***all*** threads...
# Documentation Async chat server example is using `connection_writer_loop()` task to ensure, that client messages will not be interleaved. https://book.async.rs/tutorial/sending_messages What if `broker_loop()` will send client messages back to `connection_loop()`...
The new recommendation is to follow the SPDX 2.1 standard. This allows automatic license verification software to work properly. Reference: https://doc.rust-lang.org/cargo/reference/manifest.html#the-license-and-license-file-fields
Hi I have a strange bug that I am debugging for a few days now. I am using async-std::net::TcpStream as part of a larger program like this: ``` // init...
Hi guys, I got this error: `Encoding("encoding: unsorted encoding (LCID: 0x409, sort ID: 42)")`. When I connect to the DB no problem occurs but when I run the query `match...
This would be at least very useful for D-Bus on Linux. Although newer software/distros (systemd-based) do not make use of abstract sockets, `dbus-daemon` by default still uses abstract unix sockets....