[package]
edition = "2024"
rust-version = "1.95"
name = "ruststream-lapin"
version = "0.7.0"
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",
"ruststream",
]
categories = [
"asynchronous",
"network-programming",
]
license = "Apache-2.0"
repository = "https://github.com/powersemmi/ruststream-lapin"
[package.metadata.docs.rs]
all-features = true
[features]
asyncapi = [
"ruststream/asyncapi",
"dep:serde",
]
default = []
plugin-consistent-hash = []
plugin-dme = []
testing = ["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_priority"
path = "examples/lapin_priority.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 = "asyncapi_lapin"
path = "tests/asyncapi_lapin.rs"
[[test]]
name = "channel_recovery_live_lapin"
path = "tests/channel_recovery_live_lapin.rs"
[[test]]
name = "conformance_lapin"
path = "tests/conformance_lapin.rs"
[[test]]
name = "harness_lapin"
path = "tests/harness_lapin.rs"
[[test]]
name = "in_process_lapin"
path = "tests/in_process_lapin.rs"
[[test]]
name = "integration_lapin"
path = "tests/integration_lapin.rs"
[[test]]
name = "manual_lapin"
path = "tests/manual_lapin.rs"
[[test]]
name = "plugins_lapin"
path = "tests/plugins_lapin.rs"
[[test]]
name = "prelude_lapin"
path = "tests/prelude_lapin.rs"
[[test]]
name = "publish_allocations"
path = "tests/publish_allocations.rs"
[[test]]
name = "publish_options_live_lapin"
path = "tests/publish_options_live_lapin.rs"
[[test]]
name = "request_reply_lapin"
path = "tests/request_reply_lapin.rs"
[[test]]
name = "request_reply_live_lapin"
path = "tests/request_reply_live_lapin.rs"
[[test]]
name = "retry_lapin"
path = "tests/retry_lapin.rs"
[[test]]
name = "retry_live_lapin"
path = "tests/retry_live_lapin.rs"
[dependencies.arc-swap]
version = "1.7"
[dependencies.bytes]
version = "1"
[dependencies.futures]
version = "0.3"
[dependencies.lapin]
version = "4.10"
features = ["tokio"]
default-features = false
[dependencies.ruststream]
version = "0.7"
default-features = false
[dependencies.serde]
version = "1"
features = ["derive"]
optional = true
[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.7"
features = [
"conformance",
"testing",
"macros",
"json",
"asyncapi",
]
default-features = false
[dev-dependencies.serde]
version = "1"
features = ["derive"]
[dev-dependencies.serde_json]
version = "1"
[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"