#sasl #delivery #state #channel #properties #frame #options


Dove is an open source Rust implementation of the AMQP 1.0 OASIS standard (http://www.amqp.org/)

5 unstable releases

0.3.0 Aug 23, 2023
0.2.0 Sep 9, 2021
0.1.2 Feb 20, 2021
0.1.1 Dec 4, 2020
0.1.0 Dec 4, 2020
Download history 15/week @ 2023-08-07 114/week @ 2023-08-14 99/week @ 2023-08-21 109/week @ 2023-08-28 7/week @ 2023-09-04 42/week @ 2023-09-11 1/week @ 2023-09-18 4/week @ 2023-09-25 9/week @ 2023-10-02 2/week @ 2023-10-09 3/week @ 2023-10-16 4/week @ 2023-10-23 11/week @ 2023-10-30 3/week @ 2023-11-06 19/week @ 2023-11-13 46/week @ 2023-11-20

80 downloads per month


5.5K SLoC

Build status crates.io

Dove - Rust AMQP 1.0 Library

Dove is an open source Rust implementation of the AMQP 1.0 OASIS standard (http://www.amqp.org/). The Advanced Message Queuing Protocol (AMQP) is an open standard for passing business messages between applications or organizations. It connects systems, feeds business processes with the information they need and reliably transmits onward the instructions that achieve their goals.

Dove aims to be an AMQP 1.0 implementation with the following properties:

  • Low footprint - efficient memory usage and pay only for what you use.
  • Portable - minimize the number of dependencies and use portable APIs.

The library supports only the basics right now: Establishing connections, creating sessions, links and sending and receiving message. Most AMQP 1.0 types have been implemented, and conversion for many Rust native types exists. Support for SASL ANONYMOUS and PLAIN.

Dove exposes two different APIs:

  • An API for writing messaging applications using async rust.
  • A low level connection API that allows you to send and receive frames defined as rust types.


Client examples can be found in the examples/ directory. You can run them like this:

cargo run --example send amqp://localhost:5672/myqueue "Hello, World"
cargo run --example receive amqp://localhost:5672/myqueue


cargo build


Testing uses testcontainers-rs which requires docker to run:

RUST_LOG=info cargo test

Supported features

  • Async-await API for creating connections, sessions and links.
  • Most of the AMQP 1.0 type system, but there are probably some edge cases that have not yet been tested.
  • Tested against Apache ActiveMQ Artemis, Apache Qpid Dispatch Router and Apache Qpid Broker J.

Not supported features

See TODO Issues for a list of features that are not yet implemented.


  • types - AMQP type system with encoding and decoding
  • frame_codec - AMQP frame codec utility
  • convert - Convertion of rust types and AMQP types
  • encoding - AMQP type encoding
  • decoding - AMQP type decoding
  • error - AMQP error types and error handling data types
  • framing - API for frame types and encoding/decoding of frames
  • transport - API for the underlying transport/network
  • message - API for working with messages
  • sasl - SASL handling
  • conn - Low level API for sending and recieving frames on a connection
  • driver - Functionality for handling most control logic.
  • container - API for writing applications
  • url - utilities for handling AMQP urls


~83K SLoC