Cargo Features

tdn_did = { version = "0.6.4", default-features = false, features = ["secp256k1", "rand"] }
default = rand, secp256k1

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

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.

secp256k1 default

Enables secp256k1 ^0.20

key deriving (BIP-32, BIP-44)

Affects bip32::Secp256k1ExtendedPrivKey, tdn_did::generate_eth_account, tdn_did::generate_btc_account

rand default

Affects tdn_did::generate_mnemonic