Cargo Features

[dependencies]
polysig-node-bindings = { version = "0.8.0", default-features = false, features = ["full", "signers", "protocols", "cggmp", "ecdsa", "eddsa", "frost-ed25519", "schnorr"] }
default = full

The full feature is set by default whenever polysig-node-bindings is added without default-features = false somewhere in the dependency tree.

full default = protocols, signers
signers full = ecdsa, eddsa, schnorr
protocols full = cggmp, frost-ed25519
cggmp protocols? = serde

Enables tokio, async, tokio and tokio_rt of napi, cggmp of polysig-client and polysig-driver

Affects protocols::cggmp, polysig-node-bindings::protocols

ecdsa signers?

Enables ecdsa of polysig-driver

Affects signers::ecdsa

eddsa signers?

Enables eddsa of polysig-driver

Affects signers::eddsa

frost-ed25519 protocols? = serde

Enables tokio, async, tokio and tokio_rt of napi, frost-ed25519 of polysig-client and polysig-driver

Affects polysig-node-bindings::protocols

schnorr signers?

Enables schnorr of polysig-driver

Affects signers::schnorr

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.

serde cggmp? frost-ed25519?