Cargo Features

[dependencies]
iroh-bytes = { version = "0.15.0", default-features = false, features = ["downloader", "fs-store", "metrics", "redb"] }
default = fs-store

The fs-store feature is set by default whenever iroh-bytes is added without default-features = false somewhere in the dependency tree.

downloader

Enables hashlink, iroh-net ^0.15.0, and parking_lot, time of tokio-util

Affects iroh-bytes::downloader

fs-store default = redb

Enables redb ^1.5.1, reflink-copy, and tempfile

Affects store::fs

metrics

Enables iroh-metrics ^0.15.0

Affects iroh-bytes::metrics

redb fs-store

Enables redb