26 releases (stable)

7.1.0 Dec 20, 2023
6.4.0 Nov 8, 2023
6.1.0 Mar 23, 2023
6.0.1 Jul 11, 2022
0.3.0 Jul 1, 2019

#259 in Asynchronous

Download history 29/week @ 2024-08-05 13/week @ 2024-08-12 32/week @ 2024-08-19 23/week @ 2024-08-26 14/week @ 2024-09-02 21/week @ 2024-09-16 162/week @ 2024-09-23 53/week @ 2024-09-30 13/week @ 2024-10-07 8/week @ 2024-10-14 51/week @ 2024-10-21 16/week @ 2024-10-28 50/week @ 2024-11-04 10/week @ 2024-11-18

76 downloads per month

Apache-2.0

140KB
2.5K SLoC

Hedwig library for Rust

Build Status Latest Version Docs

What is it?

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.

Quick Start

Installation

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"] }

Usage

See the examples in the repository as well as the crate-level documentation for usage examples.

Getting Help

We use GitHub issues for tracking bugs and feature requests.

  • If it turns out that you may have found a bug, please open an issue

Dependencies

~3–16MB
~226K SLoC