Simple and fast async channels that can be used to implement futures, streams,
notifiers, and actors. Whisk is purposely kept small, implemented in under 1000
lines of Rust code, with zero dependencies (not including feature flags to
enable implementation of traits from other crates) - and also works on no_std
!
Naïve benchmarks for v0.13.0 actor on pasts runtime (compared with dynamic library) with Rust 1.78.0:
Dynamic library: 12ns Whisk (2-thread): 1.102µs Flume (2-thread): 1.013µs Whisk (1-thread): 1.151µs Flume (1-thread): 1.532µs
The current MSRV is Rust 1.70.
MSRV is updated according to the Ardaku MSRV guidelines.
Copyright © 2022-2024 The Whisk Crate Contributor(s)
Licensed under any of
- Apache License, Version 2.0, (LICENSE_APACHE or https://www.apache.org/licenses/LICENSE-2.0)
- Boost Software License, Version 1.0, (LICENSE_BOOST or https://www.boost.org/LICENSE_1_0.txt)
- MIT License, (LICENSE_MIT or https://mit-license.org/)
at your option.
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.
If you want help using or contributing to this library, feel free to send me an email at [email protected].