Cargo Features

[dependencies]
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 ^0.24

alloc std

Enables alloc of minicbor ^0.24

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