Cargo Features

[dependencies]
nash-mpc = { version = "1.2.4", default-features = false, features = ["rust_gmp", "num_bigint", "wasm", "k256", "secp256k1"] }
default = k256, rust_gmp

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

rust_gmp default

Enables rust_gmp of paillier-common and rust-bigint

num_bigint = num-integer, num-traits

Enables num_bigint of paillier-common and rust-bigint

wasm

Enables wasmbind of chrono and js of getrandom

getrandom:

Feature to enable JavaScript bindings on wasm*-unknown-unknown

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 default

Enables k256 ^0.9

Affects curves::secp256_k1_rust

secp256k1 implicit feature

Enables secp256k1 ^0.20

Affects curves::secp256_k1

num-integer num_bigint?
num-traits num_bigint?