19 releases (11 stable)

6.0.0 Jan 12, 2022
5.0.0 Oct 27, 2021
4.1.1 Oct 21, 2021
4.1.0 Jun 11, 2021
0.3.0 Jul 1, 2019

#109 in Web programming

Download history 22/week @ 2021-10-02 39/week @ 2021-10-09 50/week @ 2021-10-16 55/week @ 2021-10-23 27/week @ 2021-10-30 28/week @ 2021-11-06 14/week @ 2021-11-13 26/week @ 2021-11-20 48/week @ 2021-11-27 62/week @ 2021-12-04 39/week @ 2021-12-11 26/week @ 2021-12-18 5/week @ 2021-12-25 26/week @ 2022-01-01 54/week @ 2022-01-08 22/week @ 2022-01-15

119 downloads per month

Apache-2.0

130KB
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

~2.7–7.5MB
~180K SLoC

a