129 releases (38 stable)

8.1.1 Mar 17, 2025
8.0.0 Jan 29, 2025
8.0.0-beta.1 Dec 9, 2024
8.0.0-alpha.4 Sep 21, 2024
0.17.0 Mar 29, 2017

#1197 in Network programming

Download history 39456/week @ 2024-12-05 40968/week @ 2024-12-12 22745/week @ 2024-12-19 12729/week @ 2024-12-26 28935/week @ 2025-01-02 41215/week @ 2025-01-09 39135/week @ 2025-01-16 39725/week @ 2025-01-23 45408/week @ 2025-01-30 50927/week @ 2025-02-06 39764/week @ 2025-02-13 43661/week @ 2025-02-20 41604/week @ 2025-02-27 44353/week @ 2025-03-06 45203/week @ 2025-03-13 36580/week @ 2025-03-20

175,600 downloads per month
Used in 132 crates (10 directly)

BSD-2-Clause

66KB
1.5K SLoC

amq-protocol

API Docs Build status Downloads

Features

  • codegen: force code generation (default to pregenerated sources)
  • vendored-openssl: use a vendored openssl version instead of the system one (when using openssl backend)
  • verbose-errors: enable more verbose errors in the AMQP parser

TLS backends

  • native-tls
  • openssl
  • rustls (default)

Rustls certificates store

  • rustls-native-certs (default)
  • rustls-webpki-roots-certs

Warning about crypto backends for rustls

A crypto implementation must be enabled in rustls using feature flags. We mimic what rustls does, providing one feature flag per implementation and enabling the same as rustls by default. Available options are:

  • rustls--aws_lc_rs (default)
  • rustls--ring

lib.rs:

AMQP types manipulation library

amq-protocol-types is a library aiming at providing an implementation/abstraction around AMQP types.

It implements the list of the different kind of types available, a value holder and serialization.deserialization facilities.

Dependencies

~1.4–2.3MB
~48K SLoC