jsmx

Crates.iojsmx
lib.rsjsmx
version0.3.4
sourcesrc
created_at2020-04-28 22:30:54.059155
updated_at2020-05-22 21:27:12.642339
descriptionPubSub Message Passing for Rust with JSON
homepage
repositoryhttps://github.com/andrew-johnson-4/jsmx
max_upload_size
id235139
size6,842
Andrew Johnson (andrew-johnson-4)

documentation

README

jsmx

PubSub Message Passing for Rust with JSON

Motivation

JSMX is intended for use as a simple message exchange, provided that all messaging is serialized as json objects. Allowed these restrictions, the message exchange shall obviate the creation, management, and destruction of necessary mutexes and channels.

Vocabulary

Message Exchange: a hub for incoming and outgoing messages

Shared Exchange: a thread-safe hub for incoming and outgoing messages

Message: a json object

Inbox: a subscription to a message exchange feed

selector prefix: the first part of the inbox feed address

selector suffix: the second part of the inbox feed address

callback: a function that will be called when a message is routed to this endpoint

Outbox: a feed where related messages can be published

descriptor prefix: the first part of the outbox feed route

descriptor suffix: the second part of the outbox feed route

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in jsmx by you, shall be dual licensed under the MIT and Apache 2.0 license without any additional terms or conditions.

Commit count: 38

cargo fmt