Cargo Features

foundation-urtypes = { version = "0.5.0", default-features = false, features = ["std", "alloc"] }
default = std

The std feature is set by default whenever foundation-urtypes is added without default-features = false somewhere in the dependency tree.

std default = alloc

Enables std of bitcoin ^0.31 and minicbor

alloc std

Enables alloc of minicbor

Affects hdkey::HDKey, hdkey::DerivedKey, keypath::Keypath

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.

bitcoin std

Enables bitcoin ^0.31

Affects address::InterpretAddressError, address::UnknownAddressType, hdkey::InterpretExtendedKeyError