Cargo Features

[dependencies]
rust-elgamal = { version = "0.4.0", default-features = false, features = ["nightly", "enable-serde", "std", "simd_backend"] }
default = std

The std feature is set by default whenever rust-elgamal is added without default-features = false somewhere in the dependency tree.

nightly simd_backend?

Enables nightly of curve25519-dalek-ng

simd_backend extends u64_backend

enable-serde = serde

cannot call the feature "serde" (yet)

Enables serde of curve25519-dalek-ng

std default

Enables std of curve25519-dalek-ng, rand_core, and serde

simd_backend = nightly

Enables simd_backend of curve25519-dalek-ng

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.

serde enable-serde? std