Cargo Features

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

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

hash default = base32

Enables iroh-blake3, data-encoding, derive_more, and postcard

Affects iroh-base::hash

base32 default hash

Enables data-encoding and postcard

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

redb

Enables redb

key

Enables aead, crypto_box, derive_more, and ed25519-dalek

aead:

key module

and getrandom, once_cell, rand, rand_core, ssh-key, ttl_cache, url, and zeroize

getrandom:

wasm

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

wasm

Enables js of optional getrandom

relay default

Enables derive_more and url

Affects iroh-base::relay_map