Cargo Features

[dependencies]
iroh-gossip = { version = "0.29.0", default-features = false, features = ["net", "rpc", "cli", "examples"] }
default = net, rpc

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

net default examples?

Enables async-channel, futures-concurrency, futures-lite, futures-util, iroh, tokio, and tokio-util

futures-lite:

net dependencies (optional)

Affects iroh-gossip::net

rpc default cli?

Enables nested_enum_utils, quic-rpc, quic-rpc-derive, and strum

nested_enum_utils:

rpc dependencies (optional)

Affects iroh-gossip::rpc

cli = rpc

Enables clap

Affects iroh-gossip::cli

examples = net

Enables data-encoding