Crates.io | ripb |
lib.rs | ripb |
version | 0.3.1 |
source | src |
created_at | 2019-05-29 16:08:19.291556 |
updated_at | 2019-10-21 15:23:04.296935 |
description | A rust crate providing an implementation of a lock-free type-safe in-process bus. |
homepage | |
repository | https://github.com/snipsco/ripb |
max_upload_size | |
id | 137724 |
size | 55,908 |
ripb
A rust crate providing an implementation of a lock-free type-safe in-process bus.
In order delivery: messages published on the bus are received in the same order by a given subscriber. This is not guaranteed across multiple subscribers. IE if you send Messages m1 and m2 on a bus with subscribers s1 and s2, both s1 and s2 will receive the messages in the order m1, m2, but s1 may receive m2 before s2 has received m1.
Current implementation uses crossbeam-channel
s
and a fixed number of threads. Any
and
TypeId
are used to to be able to expose a
type-safe api.
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.
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.