Cargo Features

[dependencies]
iroh-docs = { version = "0.29.0", default-features = false, features = ["net", "metrics", "engine", "cli", "rpc", "test-utils"] }
default = engine, metrics, net, rpc, test-utils

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

net default engine

Enables iroh, tokio-stream and tokio-util, io-util of tokio

Affects iroh-docs::net

metrics default

Enables metrics of iroh and iroh-metrics

engine default rpc = net

Enables iroh-blobs and iroh-gossip

Affects iroh-docs::protocol, iroh-docs::engine

cli = rpc

Enables shellexpand, clap, colored, console, dialoguer, and indicatif, base32 of iroh-base, rpc of iroh-blobs

Affects iroh-docs::cli

rpc default cli? = engine

Enables nested_enum_utils, portable-atomic, quic-rpc, quic-rpc-derive, and serde-error

Affects iroh-docs::rpc

test-utils default

Enables test-utils of iroh