Rust 中的 AMQP 客户端库,具有清晰、基于未来的 API
Lapin 以异步 I/O 层为基础实现了 AMQP 0-9-1 规范。它是无关联运行时的: 相同的代码在 tokio(默认)、 smol 或 async-global-executor 中都能正常运行。
| 标志 | 说明 |
|---|---|
tokio (默认) |
需要运行中的 Tokio 运行时 |
smol |
使用 smol 执行器 |
async-global-executor |
使用 async-global-executor |
| 标志 | 说明 |
|---|---|
rustls (默认) |
通过 rustls 实现 TLS |
native-tls |
通过平台本地库实现 TLS |
openssl |
通过 OpenSSL 实现 TLS |
rustls 处于活动状态时)暂无开放 Issues,或尚未同步最近议题。