Cargo Features

[dependencies]
paillier-common = { version = "0.2.0", default-features = false, features = ["rust_gmp", "num_bigint"] }
default = rust_gmp

The rust_gmp feature is set by default whenever paillier-common is added without default-features = false somewhere in the dependency tree.

rust_gmp default

Enables rust_gmp of rust-bigint

num_bigint = num-integer, num-traits

Enables num_bigint of rust-bigint

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.

num-traits num_bigint?
num-integer num_bigint?