pasts icon indicating copy to clipboard operation
pasts copied to clipboard

Minimal and simpler alternative to the futures crate.

Results 14 pasts issues
Sort by recently updated
recently updated
newest added

And figure out a way to not run futures in `Drop`.

enhancement

~https://github.com/rust-lang/rust/issues/93178 (remove pin-utils dependency when **`no-std`** is enabled)~ - [ ] https://github.com/rust-lang/rust/issues/86918 (remove `Unpin` requirement for `Notifier` impl on `Pin`)

enhancement

Supports compiling pasts to no-std on stable with a feature flag to pull in faux_alloc. This removes the need for all the nightly boilerplate. Closes https://github.com/ardaku/pasts/issues/18

enhancement

When creating the `Executor`, it should be possible to set a limit on the number of spawned tasks to avoid allocation. Setting the limit to zero should fallback to using...

enhancement

Because we have [`Arc::from`](https://doc.rust-lang.org/std/sync/struct.Arc.html#impl-From%3CT%3E), [Executor::new()](https://docs.rs/pasts/0.11.0/pasts/struct.Executor.html#method.new) can take `Into Arc`, and pass an `Arc` created outside the global allocator in the no-std example.

enhancement

I no longer think the benefits of having `Notify` as a separate trait are worth the trade-off, since in practice, most `Notify`s have a point where they could end. Additionally,...

enhancement

**Describe the bug** Never increments the "current" value, therefore isn't actually fair.

bug

This could possibly work with a homogeneous array with a generic, rather than forcing the use of trait objects (and still support trait objects).

enhancement

This could be an issue when extending pasts to allow spawning in a thread pool.

enhancement