1 unstable release
0.0.1 | Apr 10, 2022 |
---|
#21 in #send-event
18KB
314 lines
subscriber-rs
A simple subscriber framework see examples/simple.rs
for How-To.
This crates solves the problems of how to register a callback (maybe FFI one) and send in an event loop different events.
Note: the no_std part is not working atm and we depends of tokio for the executor, we will switch to agnostik later on.
Installation
Cargo
- Install the rust toolchain in order to have cargo installed by following this guide.
- run
cargo install subscriber-rs
License
Licensed under either of
- Apache License, Version 2.0 (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
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.
See CONTRIBUTING.md.
Dependencies
~2.4–8MB
~62K SLoC