Cargo Features
[dependencies]
libpep = { version = "0.5.2", default-features = false, features = ["elgamal3", "wasm", "legacy-pep-repo-compatible", "insecure-methods", "build-binary"] }
- default = build-binary
-
The
build-binary
feature is set by default wheneverlibpep
is added without
somewhere in the dependency tree.default-features = false - elgamal3
-
Affects
ops::rerandomize
,ops::rerandomize_known
,elgamal::ELGAMAL_LENGTH
,elgamal::ElGamal.gy
,primitives::rerandomize
,primitives::rrsk
,primitives::rrsk2
,high_level::wasm_rerandomize_encrypted_pseudonym
,high_level::wasm_rerandomize_encrypted
,high_level::wasm_rerandomize_encrypted_pseudonym_known
,high_level::wasm_rerandomize_encrypted_known
,primitives::wasm_rerandomize
… - wasm = getrandom, wasm-bindgen
- legacy-pep-repo-compatible
-
Affects
contexts::PseudonymizationContext
,contexts::EncryptionContext
,utils::make_pseudonymisation_factor
,utils::make_rekey_factor
… - insecure-methods
-
Affects
ops::decrypt_global
… - build-binary default = buildinfy, commandy, commandy_macros
-
Required by the peppy binary
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.