Cargo Features

[dependencies]
bls12_381_plus = { version = "0.8.17", default-features = false, features = ["std", "alloc", "bits", "expose-fields", "groups", "pairings", "ark"] }
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 ark?
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
ark = ark-bls12-381, ark-ec, ark-ff, ark-serialize, num-bigint, num-traits, rand, std

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.

ark-bls12-381 ark?
ark-ec ark?
ark-ff ark?
ark-serialize ark?
num-bigint ark?
num-traits ark?
pairing pairings
rand ark?
group alloc groups