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 whenever libpep is added without default-features = false somewhere in the dependency tree.

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.

wasm-bindgen wasm?
getrandom wasm?
buildinfy build-binary

Enables buildinfy ^0.1

commandy build-binary
commandy_macros build-binary