# amqp-rs/lapin

AMQP client library in Rust, with a clean, futures based API

Repository: https://github.com/amqp-rs/lapin
Canonical: https://ross.abutalabs.com/products/lapin
Language: Rust
License: MIT
License Family: permissive
Topics: amqp, amqp-client, amqp0-9-1, rust, messaging, hacktoberfest, async
Last push: 2026-08-03T16:00:46+00:00

## Health v2 (maintenance only)
Score: 75/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 95, release rhythm 35, longevity 100
- inputs: {"age_days": 3471, "days_push": 30, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1233, forks 120 (observed 2026-08-28T04:04:04.572532+00:00)

## What it is
Lapin is an async AMQP 0-9-1 client library for Rust, primarily targeting RabbitMQ. It provides a futures-based API and is runtime-agnostic, supporting tokio, smol, and async-global-executor.

## Use cases
- publish and consume messages from RabbitMQ in Rust
- declare queues, exchanges, and bindings over AMQP 0-9-1
- build async message-driven microservices in Rust
- automatically recover RabbitMQ connections after network failures
- integrate RabbitMQ messaging into tokio or smol applications

## When to choose
- you need an AMQP 0-9-1 client in Rust
- your project uses RabbitMQ and an async Rust runtime
- you want automatic connection and topology recovery

## When to avoid
- you need AMQP 1.0 instead of 0-9-1
- you use Kafka or another non-AMQP message broker
- you need a synchronous blocking client

## Facets
- artifact type: library
- maturity: stable
- function: message-queue, http-client
- domain: backend, developer-tools
- platform: rust, cross-platform
- tags: amqp, rabbitmq, amqp0-9-1, async, futures, tokio, smol, messaging

## Member repositories
- amqp-rs/lapin (main) score 75

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:04.572532+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T08:22:14.564207+00:00, confidence not recorded.
  - readme: https://github.com/amqp-rs/lapin (fetched 2026-08-28T04:04:04.572532+00:00, sha ac749d62dcea)
  - registry_crates: https://crates.io/api/v1/crates/lapin (fetched 2026-08-29T12:21:41.529849+00:00, sha c6cea3001a3a)
- Data as of 2026-08-30T08:39:29.467469+00:00.
