Cargo Features

[dependencies]
iroh-base = { version = "0.15.0", default-features = false, features = ["hash", "base32", "redb", "key"] }
default = base32, hash

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

hash default = bao-tree, data-encoding, postcard

Affects iroh-base::hash

base32 default = data-encoding

Affects iroh-base::base32, iroh-base::ticket

redb

Enables redb

key

Enables aead, crypto_box, derive_more, ed25519-dalek, once_cell, rand, rand_core, ssh-key, ttl_cache, url, and zeroize

aead:

key module

Affects iroh-base::key, iroh-base::node_addr

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.

bao-tree hash
data-encoding base32 hash
postcard hash