Cargo Features

[dependencies]
iroh-base = { version = "0.30.0", default-features = false, features = ["ticket", "key", "wasm", "relay"] }
default = relay, ticket

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

ticket default = key

Enables data-encoding and postcard

Affects iroh-base::ticket

key ticket = relay

Enables curve25519-dalek, data-encoding, derive_more, ed25519-dalek, getrandom, rand_core, thiserror, and url

getrandom:

wasm

wasm

Enables js of optional getrandom

relay default key?

Enables derive_more, thiserror, and url