131 releases (40 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
0.17.0 Mar 29, 2017

#1180 in Network programming

Download history 35537/week @ 2025-01-19 43640/week @ 2025-01-26 49656/week @ 2025-02-02 45412/week @ 2025-02-09 42023/week @ 2025-02-16 42554/week @ 2025-02-23 41464/week @ 2025-03-02 46965/week @ 2025-03-09 43493/week @ 2025-03-16 42604/week @ 2025-03-23 41984/week @ 2025-03-30 47745/week @ 2025-04-06 40085/week @ 2025-04-13 38004/week @ 2025-04-20 41743/week @ 2025-04-27 36774/week @ 2025-05-04

158,290 downloads per month
Used in 133 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)
  • 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
~47K SLoC