Pasts
Minimal and simpler alternative to the futures crate.
About | Source | Changelog | Tutorial
About
- 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
Future
s (ability to#[forbid(unsafe_code)]
) - No platform-specific API differences (code works everywhere!).
Check out the documentation for examples.
Supported Platforms
Pasts targets all platforms that can run Rust. The exec!()
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 either of
- Apache License, Version 2.0, (LICENSE-APACHE or https://www.apache.org/licenses/LICENSE-2.0)
- Zlib License, (LICENSE-ZLIB or https://opensource.org/licenses/Zlib) 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 dual licensed as above, without any additional terms or conditions.