Cargo Features

[dependencies]
nash-protocol = { version = "0.3.0", default-features = false, features = ["rustcrypto", "libsecp256k1", "rust_gmp", "num_bigint", "wasm"] }
default = rust_gmp, rustcrypto

These default features are set whenever nash-protocol is added without default-features = false somewhere in the dependency tree.

rustcrypto default = k256

Enables k256 of nash-mpc

libsecp256k1 = secp256k1

Enables secp256k1 of nash-mpc

rust_gmp default

Enables rust_gmp of nash-mpc

num_bigint

Enables num_bigint of nash-mpc

wasm

Enables wasm of nash-mpc

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.

k256 rustcrypto

Enables k256 ^0.9

secp256k1 libsecp256k1?

Enables secp256k1 ^0.19