Cargo Features

[dependencies]
iroh = { version = "0.28.1", default-features = false, features = ["metrics", "fs-store", "examples", "discovery-local-network", "discovery-pkarr-dht", "test", "test-utils"] }
default = fs-store, metrics

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

metrics default = iroh-metrics

Enables metrics of iroh-blobs

Affects iroh::metrics

fs-store default

Enables fs-store of iroh-blobs

examples discovery-local-network?

Enables clap and indicatif

clap:

Examples

discovery-local-network = examples

Enables console and iroh-net

discovery-pkarr-dht

Enables discovery-pkarr-dht of iroh-net

test
test-utils

Enables test-utils of iroh-net

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.

iroh-metrics metrics