#subscriber #framework #events #send-event #solve #problem

no-std subscriber-rs

A subscriber framework

1 unstable release

0.0.1 Apr 10, 2022

#19 in #send-event

MIT/Apache

18KB
314 lines

subscriber-rs

Crates.io Docs.rs CI Coverage Status

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

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–8.5MB
~62K SLoC