[package]
edition = "2024"
rust-version = "1.88"
name = "ruststream-lapin"
version = "0.5.2"
authors = ["RustStream contributors"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "RabbitMQ / AMQP 0.9.1 broker implementation for the RustStream messaging framework, backed by lapin."
readme = "README.md"
keywords = [
"rabbitmq",
"amqp",
"messaging",
"broker",
"faststream",
]
categories = [
"asynchronous",
"network-programming",
]
license = "Apache-2.0"
repository = "https://github.com/powersemmi/ruststream-lapin"
[package.metadata.docs.rs]
all-features = true
[features]
default = []
plugin-consistent-hash = []
plugin-dme = []
testing = [
"ruststream/conformance",
"ruststream/testing",
]
tls-native-tls = ["lapin/native-tls"]
tls-rustls = ["lapin/rustls"]
tls-rustls-ring = [
"lapin/rustls",
"lapin/rustls--ring",
]
[lib]
name = "ruststream_lapin"
path = "src/lib.rs"
[[example]]
name = "lapin_consistent_hash"
path = "examples/lapin_consistent_hash.rs"
required-features = ["plugin-consistent-hash"]
[[example]]
name = "lapin_keyed_lanes"
path = "examples/lapin_keyed_lanes.rs"
[[example]]
name = "lapin_quickstart"
path = "examples/lapin_quickstart.rs"
[[example]]
name = "lapin_rpc_client"
path = "examples/lapin_rpc_client.rs"
[[example]]
name = "lapin_rpc_server"
path = "examples/lapin_rpc_server.rs"
[[example]]
name = "lapin_testing"
path = "examples/lapin_testing.rs"
required-features = ["testing"]
[[example]]
name = "lapin_topology"
path = "examples/lapin_topology.rs"
[[example]]
name = "lapin_transactions"
path = "examples/lapin_transactions.rs"
[[test]]
name = "conformance_lapin"
path = "tests/conformance_lapin.rs"
[[test]]
name = "integration_lapin"
path = "tests/integration_lapin.rs"
[[test]]
name = "plugins_lapin"
path = "tests/plugins_lapin.rs"
[[test]]
name = "testing_core"
path = "tests/testing_core.rs"
[dependencies.bytes]
version = "1"
[dependencies.futures]
version = "0.3"
[dependencies.lapin]
version = "4.10"
features = ["tokio"]
default-features = false
[dependencies.ruststream]
version = ">=0.5.2, <0.6.0"
default-features = false
[dependencies.thiserror]
version = "2"
[dependencies.tokio]
version = "1"
features = [
"rt-multi-thread",
"macros",
"sync",
"time",
"signal",
]
[dependencies.tracing]
version = "0.1"
[dev-dependencies.ruststream]
version = ">=0.5.2, <0.6.0"
features = [
"conformance",
"testing",
"macros",
"json",
]
default-features = false
[dev-dependencies.serde]
version = "1"
features = ["derive"]
[dev-dependencies.tokio]
version = "1"
features = [
"rt-multi-thread",
"macros",
"sync",
"time",
"signal",
]
[lints.clippy]
missing_const_for_fn = "allow"
module_name_repetitions = "allow"
multiple_crate_versions = "allow"
redundant_pub_crate = "allow"
[lints.clippy.cargo]
level = "warn"
priority = -1
[lints.clippy.correctness]
level = "deny"
priority = -1
[lints.clippy.nursery]
level = "warn"
priority = -1
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.clippy.perf]
level = "deny"
priority = -1
[lints.clippy.suspicious]
level = "deny"
priority = -1
[lints.rust]
missing_debug_implementations = "warn"
missing_docs = "deny"
unreachable_pub = "deny"
unsafe_op_in_unsafe_fn = "deny"
unused_qualifications = "warn"