Cargo Features

[dependencies]
iroh = { version = "0.14.0", default-features = false, features = ["metrics", "fs-store", "examples", "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-bytes

Affects iroh::metrics

fs-store default

Enables fs-store of iroh-bytes

examples

Enables clap and indicatif

clap:

Examples

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