Cargo Features

[dependencies]
key-share = { version = "0.5.0", default-features = false, features = ["std", "serde", "hd-wallet", "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 ^1

serde = hex, serde_with

Enables serde, serde of generic-ec

hd-wallet

Enables hd-wallet

Affects key-share::DirtyKeyInfo.chain_code

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.

hex serde?
serde_with serde?

Enables serde_with ^2