1 unstable release

0.1.0 Dec 20, 2023

#61 in #payload

Download history 46/week @ 2024-07-27 31/week @ 2024-08-03 14/week @ 2024-08-10 35/week @ 2024-08-17 31/week @ 2024-08-24 6/week @ 2024-08-31 9/week @ 2024-09-07 15/week @ 2024-09-14 61/week @ 2024-09-21 21/week @ 2024-09-28 11/week @ 2024-10-05 13/week @ 2024-10-12 41/week @ 2024-10-19 14/week @ 2024-10-26 23/week @ 2024-11-02 8/week @ 2024-11-09

88 downloads per month
Used in hedwig

Apache-2.0

7KB
117 lines

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

lib.rs:

The core set of traits and types used in the hedwig format.

This crate aims to provide better version stability over the primary batteries-included hedwig crate. Top-level applications should typically use hedwig, while crates that define message types should use hedwig_core

Dependencies

~500KB