Skip to content
/ ripb Public

A rust crate providing an implementation of a lock-free type-safe in-process bus.

License

Unknown and 2 other licenses found

Licenses found

Unknown
LICENSE
Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT
Notifications You must be signed in to change notification settings

snipsco/ripb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

ripb

A rust crate providing an implementation of a lock-free type-safe in-process bus.

Guarantees

  • 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.

Implementation

Current implementation uses crossbeam-channels and a fixed number of threads. Any and TypeId are used to to be able to expose a type-safe api.

License

Apache 2.0/MIT

Licensed under either of

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.

About

A rust crate providing an implementation of a lock-free type-safe in-process bus.

Resources

License

Unknown and 2 other licenses found

Licenses found

Unknown
LICENSE
Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT

Stars

Watchers

Forks

Packages

No packages published

Languages