Cargo Features

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

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