Cargo Features
[dependencies]
libpaillier = { version = "0.6.0", default-features = false, features = ["crypto", "gmp", "openssl", "rust", "wasm"] }
- default = crypto
-
The
crypto
feature is set by default wheneverlibpaillier
is added without
somewhere in the dependency tree.default-features = false - crypto default
-
Enables crypto of unknown_order
- gmp
-
Enables gmp of unknown_order
- openssl
-
Enables openssl of unknown_order
- rust
-
Enables rust of unknown_order
- wasm = getrandom, rand, wasm-bindgen
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.