Crates.io | watermelon-proto |
lib.rs | watermelon-proto |
version | 0.1.7 |
created_at | 2025-01-23 16:45:42.750044+00 |
updated_at | 2025-07-15 15:07:58.741089+00 |
description | #[no_std] NATS Core Sans-IO protocol implementation |
homepage | |
repository | https://github.com/M4SS-Code/watermelon |
max_upload_size | |
id | 1527987 |
size | 148,032 |
watermelon
is an independent and opinionated implementation of the NATS
client protocol and the NATS client API for Rust. The goal of the project
is to produce a more secure, composable and idiomatic implementation compared
to the official one.
Most users of this project will depend on the watermelon
crate directly and on
watermelon-proto
and watermelon-nkeys
via the re-exports in watermelon
.
Watermelon is divided into multiple crates, all hosted in the same monorepo.
Subject
, to prevent entire classes of errors and security vulnerabilities.watermelon
, or depend directly on the lower-level crates for maximum flexibility.nats-server >= 2.10
and avoid legacy versions compatibility code like the STARTTLS-style TLS upgrade path or fallbacks for older JetStream APIs. We also prefer pull consumers over push consumers given the robust flow control, easier compatibility with multi-account environments and stronger permissions handling.Licensed under either of
at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.