Cargo Features

RmqttRaft has no features set by default.

[dependencies]
rmqtt-raft = { version = "0.4.3", features = ["reuse", "reuseport", "reuseaddr"] }
reuse = reuseaddr, reuseport
reuseport reuse? = socket2, tokio-stream

Affects rmqtt-raft::Config.reuseport

reuseaddr reuse? = socket2, tokio-stream

Affects rmqtt-raft::Config.reuseaddr

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.

socket2 reuseaddr? reuseport?

Affects raft_service::bind

tokio-stream reuseaddr? reuseport?

Affects raft_service::bind