Cargo Features

[dependencies]
bls12_381_plus = { version = "0.8.15", default-features = false, features = ["std", "alloc", "bits", "expose-fields", "groups", "pairings"] }
default = alloc, bits, groups, pairings

These default features are set whenever bls12_381_plus is added without default-features = false somewhere in the dependency tree.

std
alloc default

Enables alloc of group

bits default

Enables bits of ff

expose-fields = groups

Affects bls12_381_plus::fp, bls12_381_plus::fp2

groups default expose-fields? pairings = group
pairings default = groups, pairing

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.

pairing pairings
group alloc groups