148 releases (47 stable)

Uses new Rust 2024

10.0.0-rc.3 Sep 19, 2025
10.0.0-beta.5 Aug 30, 2025
9.0.1 Aug 20, 2025
8.3.1 Aug 17, 2025
0.17.0 Mar 29, 2017

#1954 in Network programming

Download history 77783/week @ 2025-10-02 64683/week @ 2025-10-09 69164/week @ 2025-10-16 62666/week @ 2025-10-23 72383/week @ 2025-10-30 75556/week @ 2025-11-06 66928/week @ 2025-11-13 76355/week @ 2025-11-20 88741/week @ 2025-11-27 76618/week @ 2025-12-04 81841/week @ 2025-12-11 62714/week @ 2025-12-18 33327/week @ 2025-12-25 68598/week @ 2026-01-01 106905/week @ 2026-01-08 113853/week @ 2026-01-15

329,170 downloads per month
Used in 178 crates (10 directly)

BSD-2-Clause

66KB
1.5K SLoC

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.


amq-protocol

API Docs Build status Downloads

Features

  • codegen: force code generation (default to pregenerated sources)
  • hickory-dns: use hickory-dns for domain name resolution to avoid spurious network hangs
  • 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

Dependencies

~1.3–2.2MB
~46K SLoC