107 releases (45 stable)

Uses new Rust 2024

10.0.1 Feb 19, 2026
10.0.0-rc.3 Sep 19, 2025
9.0.1 Aug 20, 2025
8.3.1 Aug 17, 2025
2.1.1 Jun 26, 2019

#33 in #amqp

Download history 64123/week @ 2025-11-13 73572/week @ 2025-11-20 84120/week @ 2025-11-27 73705/week @ 2025-12-04 78954/week @ 2025-12-11 60222/week @ 2025-12-18 31435/week @ 2025-12-25 66237/week @ 2026-01-01 105024/week @ 2026-01-08 110885/week @ 2026-01-15 132212/week @ 2026-01-22 129083/week @ 2026-01-29 175109/week @ 2026-02-05 150266/week @ 2026-02-12 209306/week @ 2026-02-19 213927/week @ 2026-02-26

780,751 downloads per month
Used in 168 crates (via amq-protocol)

BSD-2-Clause

34KB
371 lines

AMQP URI TCP connection handling

amq-protocol-tcp is a library aiming at providing tools to help connecting to an AMQP URI


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

~8–38MB
~595K SLoC