88 releases (36 stable)

new 8.1.2 May 10, 2025
8.1.1 Mar 17, 2025
8.1.0 Feb 24, 2025
8.0.0-beta.1 Dec 9, 2024
2.1.1 Jun 26, 2019

#1903 in Network programming

Download history 33550/week @ 2025-01-19 41983/week @ 2025-01-26 47155/week @ 2025-02-02 43351/week @ 2025-02-09 40307/week @ 2025-02-16 40499/week @ 2025-02-23 39772/week @ 2025-03-02 44976/week @ 2025-03-09 41731/week @ 2025-03-16 40610/week @ 2025-03-23 40304/week @ 2025-03-30 46045/week @ 2025-04-06 38627/week @ 2025-04-13 36259/week @ 2025-04-20 39590/week @ 2025-04-27 35270/week @ 2025-05-04

151,179 downloads per month
Used in 109 crates (via amq-protocol)

BSD-2-Clause

27KB
313 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)
  • 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

~4–26MB
~507K SLoC