Cargo Features
[dependencies]
foundation-urtypes = { version = "0.5.0", default-features = false, features = ["std", "alloc"] }
- default = std
-
The
std
feature is set by default wheneverfoundation-urtypes
is added without
somewhere in the dependency tree.default-features = false - 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
…