Cargo Features
[dependencies]
libpaillier = { version = "0.7.0-rc0", default-features = false, features = ["2048", "3072", "4096", "wasm"] }
- default = 2048
-
The
2048
feature is set by default wheneverlibpaillier
is added without
somewhere in the dependency tree.default-features = false - 2048 default
-
Affects
libpaillier::paillier2048
… - 3072
-
Affects
libpaillier::paillier3072
… - 4096
-
Affects
libpaillier::paillier4096
… - wasm = getrandom, serde-wasm-bindgen, 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.