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
somewhere in the dependency tree.default-features = false - 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?
-
clap:
Examples
- discovery-local-network = examples
- 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.