155 releases (51 stable)

Uses new Rust 2024

new 10.2.0 Apr 18, 2026
10.0.1 Feb 19, 2026
10.0.0-rc.3 Sep 19, 2025
9.0.1 Aug 21, 2025
0.15.0 Mar 28, 2017

#151 in Network programming

Download history 36047/week @ 2025-12-27 91780/week @ 2026-01-03 116853/week @ 2026-01-10 115343/week @ 2026-01-17 134171/week @ 2026-01-24 149715/week @ 2026-01-31 175024/week @ 2026-02-07 170188/week @ 2026-02-14 206105/week @ 2026-02-21 218530/week @ 2026-02-28 239038/week @ 2026-03-07 235168/week @ 2026-03-14 178870/week @ 2026-03-21 168512/week @ 2026-03-28 177028/week @ 2026-04-04 196705/week @ 2026-04-11

756,476 downloads per month
Used in 209 crates (8 directly)

BSD-2-Clause

290KB
6.5K SLoC

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

lib.rs:

AMQP manipulation library

amq-protocol is a library aiming at providing tools to help implementing software using AMQP

Dependencies

~8–37MB
~589K SLoC