#futures #platform-agnostic #cross-platform #io #executor

no-std pasts

Minimal and simpler alternative to the futures crate

12 releases (7 breaking)

0.7.4 Jan 8, 2021
0.7.2 Dec 30, 2020
0.6.0 Nov 22, 2020
0.4.0 May 18, 2020
0.0.1 Dec 19, 2019

#323 in Asynchronous

Download history 94/week @ 2020-11-04 200/week @ 2020-11-11 141/week @ 2020-11-18 257/week @ 2020-11-25 47/week @ 2020-12-02 180/week @ 2020-12-09 135/week @ 2020-12-16 36/week @ 2020-12-23 586/week @ 2020-12-30 151/week @ 2021-01-06 244/week @ 2021-01-13 43/week @ 2021-01-20 25/week @ 2021-01-27 113/week @ 2021-02-03 102/week @ 2021-02-10 81/week @ 2021-02-17

615 downloads per month
Used in less than 7 crates

Apache-2.0 OR MIT OR BSL-1.0

17KB
264 lines

Pasts

Changelog | Source | Getting Started

tests docs crates.io

Minimal and simpler alternative to the futures crate.

Check out the documentation for examples.

Goals

  • No required std (on no_std, a single allocation is required)
  • No slow compiling proc macros (fast compile times)
  • No dependencies
  • No cost (True zero-cost abstractions!)
  • No pain (API super easy to learn & use!)
  • No unsafe code left for you to write for working with Futures (ability to #[forbid(unsafe_code)])
  • No platform-specific API differences (code works everywhere!).
  • No worrying about pinning and fusing.

Supported Platforms

Pasts targets all platforms that can run Rust. The executor works on at least the following platforms (may work on others):

  • All platforms that support threading (includes all tier 1 and some tier 2, 3)
  • Web Assembly In Browser (Tier 2)

License

Licensed under any of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be licensed as described above, without any additional terms or conditions.

Help

If you want help using or contributing to this library, feel free to send me an email at aldaronlau@gmail.com.

No runtime deps