Crates.io | hedwig |
lib.rs | hedwig |
version | 7.1.0 |
source | src |
created_at | 2019-06-25 17:52:27.017801 |
updated_at | 2023-12-20 02:40:10.377263 |
description | A simple message bus for Rust |
homepage | https://github.com/standard-ai/hedwig-rust |
repository | https://github.com/standard-ai/hedwig-rust.git |
max_upload_size | |
id | 143536 |
size | 205,289 |
Hedwig is a inter-service communication bus that works on AWS and GCP, while keeping things pretty simple and straight forward.
It allows validation of the message payloads before they are sent, helping to catch cross-component incompatibilities early.
Hedwig allows separation of concerns between consumers and publishers so your services are loosely coupled, and the contract is enforced by the message payload validation. Hedwig may also be used to build asynchronous APIs.
Add to Cargo.toml:
[dependencies]
hedwig = "6"
You may also need to enable additional features in order to use the optional publishers or validators, like this:
[dependencies]
hedwig = { version = "6", features = ["google"] }
See the examples in the repository as well as the crate-level documentation for usage examples.
We use GitHub issues for tracking bugs and feature requests.