Cargo Features

[dependencies]
iroh-docs = { version = "0.30.0", default-features = false, features = ["net", "metrics", "engine", "cli", "rpc", "test-utils"] }
default = engine, metrics, net, 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-gossip, downloader of iroh-blobs

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

cli = rpc

Enables shellexpand, clap, colored ^2.1, console, data-encoding, dialoguer, and indicatif, rpc of iroh-blobs

Affects iroh-docs::cli

rpc cli? = engine

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

Affects iroh-docs::rpc

test-utils default

Enables test-utils of iroh