Cargo Features

[dependencies]
madsim = { version = "0.2.31", default-features = false, features = ["ucx", "rpc", "macros"] }
default = macros, rpc

These default features are set whenever madsim is added without default-features = false somewhere in the dependency tree.

ucx = async-ucx
rpc default = bincode

Affects net::rpc, net::rpc

macros default = madsim-macros

Enables macros of tokio

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.

bincode rpc
madsim-macros macros
async-ucx not madsim ucx?