Crates.io | jsmx |
lib.rs | jsmx |
version | 0.3.4 |
source | src |
created_at | 2020-04-28 22:30:54.059155 |
updated_at | 2020-05-22 21:27:12.642339 |
description | PubSub Message Passing for Rust with JSON |
homepage | |
repository | https://github.com/andrew-johnson-4/jsmx |
max_upload_size | |
id | 235139 |
size | 6,842 |
PubSub Message Passing for Rust with JSON
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.
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
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.