Cargo Features
[dependencies]
key-share = { version = "0.2.3", default-features = false, features = ["std", "serde", "hd-wallets", "spof", "udigest"] }
- default = std
-
The
std
feature is set by default wheneverkey-share
is added without
somewhere in the dependency tree.default-features = false - std default
-
Enables thiserror
- serde = hex, serde_with
-
Enables serde, serde of generic-ec
- hd-wallets = slip-10
-
Affects
key-share::DirtyKeyInfo.chain_code
,utils::encoding.maybe_bytes
… - spof
-
Enables rand_core
Affects
key-share::trusted_dealer
,key-share::reconstruct_secret_key
,key-share::ReconstructError
,utils::subset
… - udigest
-
Enables udigest, udigest of generic-ec
Affects
utils::encoding
…
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.
- slip-10 hd-wallets?
- hex serde?
- serde_with serde?
-
Enables serde_with ^2