Cargo Features

[dependencies]
iroh-blobs = { version = "0.31.0", default-features = false, features = ["downloader", "net_protocol", "fs-store", "metrics", "redb", "cli", "rpc", "example-iroh", "test"] }
default = fs-store, net_protocol

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

downloader net_protocol rpc?

Enables hashlink ^0.9.0 and parking_lot, time of tokio-util

Affects iroh-blobs::downloader

net_protocol default = downloader

Enables futures-util

Affects iroh-blobs::net_protocol

fs-store default = redb

Enables reflink-copy and tempfile

Affects store::fs

metrics

Enables metrics of iroh-metrics

redb fs-store

Enables redb

cli = rpc

Enables clap, console, and indicatif

console:

Examples

Affects iroh-blobs::cli

rpc cli? = downloader

Enables futures-util, nested_enum_utils, portable-atomic, quic-rpc ^0.17.3, quic-rpc-derive, ssh-key, strum, and walkdir

Affects iroh-blobs::rpc, fs::scan_path, fs::scan_dir, fs::load_secret_key

example-iroh

Enables clap, console, and indicatif, discovery-local-network of iroh

test

Enables quinn-transport and test-utils of quic-rpc ^0.17.3