Cargo Features

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 whenever key-share is added without default-features = false somewhere in the dependency tree.

std default

Enables thiserror

serde = hex, serde_with

Enables serde, serde of generic-ec ^0.2.3

hd-wallets = slip-10

Affects key-share::DirtyKeyInfo.chain_code, utils::encoding.maybe_bytes


Enables rand_core

Affects key-share::trusted_dealer, key-share::reconstruct_secret_key, key-share::ReconstructError, utils::subset


Enables udigest, udigest of generic-ec ^0.2.3

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?

Enables slip-10 ^0.2

hex serde?
serde_with serde?

Enables serde_with ^2