Cargo Features
[dependencies]
dkg = { version = "0.5.1", default-features = false, features = ["std", "serde", "tests"] }
- default = std
-
The
std
feature is set by default wheneverdkg
is added without
somewhere in the dependency tree.default-features = false - std default = thiserror
-
Enables std of ciphersuite, serialize of dleq, batch and std of multiexp, std of rand_core, schnorr-signatures, and std-shims
Affects
dkg::encryption
,dkg::frost
,dkg::promote
,musig::musig
… - serde
-
Enables serde
- tests
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.
- thiserror std
-
Enables thiserror ^1