[package]
edition = "2024"
rust-version = "1.85"
name = "ruststream-rumqttc"
version = "0.6.0"
authors = ["RustStream contributors"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "MQTT 5 broker implementation for the RustStream messaging framework, built on rumqttc."
readme = "README.md"
keywords = [
"mqtt",
"mqtt5",
"iot",
"broker",
"faststream",
]
categories = [
"asynchronous",
"network-programming",
]
license = "Apache-2.0"
repository = "https://github.com/powersemmi/ruststream-rumqttc"
[features]
default = []
testing = ["ruststream/testing"]
[lib]
name = "ruststream_rumqttc"
path = "src/lib.rs"
[[example]]
name = "mqtt_retained"
path = "examples/mqtt_retained.rs"
[[example]]
name = "mqtt_service"
path = "examples/mqtt_service.rs"
[[test]]
name = "conformance_mqtt"
path = "tests/conformance_mqtt.rs"
[[test]]
name = "integration_mqtt"
path = "tests/integration_mqtt.rs"
[dependencies.bytes]
version = "1"
[dependencies.futures]
version = "0.3"
[dependencies.rumqttc]
version = "0.25"
[dependencies.ruststream]
version = ">=0.6.0, <0.7.0"
default-features = false
[dependencies.thiserror]
version = "2"
[dependencies.tokio]
version = "1"
features = [
"rt-multi-thread",
"macros",
"sync",
"time",
]
[dependencies.tracing]
version = "0.1"
[dev-dependencies.ruststream]
version = ">=0.6.0, <0.7.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",
"rt-multi-thread",
"macros",
"sync",
"time",
]
[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"