John Nunley
John Nunley
It already implements `Zeroable`, and the main draw of `MaybeUninit` is that it can contain theoretically any bit pattern.
It would be nice to create a custom widget (derived from `QWidget`) in C++ code, then use it in Rust code. If this isn't possible already, I would be willing...
Sometimes, you'd like to temporarily suspend a future until something else happens. I propose a `Pausable` API that allows one to render a `Future` as stopped. ## Public API ```rust...
This PR adds a new feature, `io_safety`, which implements `AsFd`/`AsSocket`/`From`/`From`/`Into`/`Into` on the types within `mio`. Enabling this feature requires Rust 1.63 or higher. See also: #1588
This PR adds a new feature, `io_safety`, which requires Rust 1.63 or higher. This trait implements the `AsFd/AsHandle/AsSocket` family of functions on `async-std`'s types. In addition, several types also implement...
This pull request resolves #467 . This feature-gates functions that use standard library functionality behind `#[cfg(feature = "std")]`. Note that the test suite for `--no-default-features` fails under this pull request;...
``` $ cargo build --no-default-features Updating crates.io index Compiling autocfg v1.0.1 Compiling num-traits v0.2.12 Compiling euclid v0.22.1 (/home/darkstar/Programming/Projects/euclid) error[E0432]: unresolved import `num_traits::Float` --> src/angle.rs:15:18 | 15 | use num_traits::{Float, FloatConst,...
I am using this crate in a crate that is `forbid(unsafe_code)`, where I would like to reduce the amount of unsafe code in my dependency tree. The unsafe code currently...
This PR implements `AsFd` and `AsSocket` for `Async`. In addition, `TryFrom
`tokio` uses [cooperative task yielding](https://tokio.rs/blog/2020-04-preemption) to improve tail latencies in the circumstance that a resource polled in a loop fails to yield, leading to starvation of other tasks. Something similar...