Cargo Features

realm_core has no features set by default.

[dependencies]
realm_core = { version = "0.4.0", features = ["hook", "balance", "brutal-shutdown", "transport", "transport-boost", "proxy", "multi-thread"] }
hook = realm_hook
balance = realm_lb

Affects endpoint::ConnectOpts.balancer

brutal-shutdown

Enables brutal-shutdown of realm_io

realm

transport = kaminari

Affects endpoint::ConnectOpts.transport

transport-boost
proxy = bytes, proxy-protocol

Enables io-util of tokio

Affects endpoint::ProxyOpts, endpoint::ConnectOpts.proxy_opts

batched-udp multi-thread

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.

realm_hook hook?
realm_lb balance?
kaminari transport?
bytes proxy?
proxy-protocol proxy?