Cargo Features

[dependencies]
nam-bls12_381 = { version = "0.8.1-nam.0", default-features = false, features = ["alloc", "bits", "groups", "pairings", "experimental", "nightly", "arbitrary", "zeroize"] }
default = alloc, bits, groups, pairings

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

alloc default

Enables alloc of group

Affects expand_msg::ExpandMessage.into_vec, pairings::G2Prepared, pairings::multi_miller_loop

bits default

Enables bits of ff

groups default experimental? pairings = group
pairings default = groups, pairing
experimental = digest, groups

Affects nam-bls12_381::hash_to_curve

nightly

Enables nightly of subtle

subtle:

DEPRECATED: As of 2.4.1, this feature does nothing.

arbitrary

Enables arbitrary

Affects util::arbitrary_choice

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.

digest experimental?
group alloc groups
pairing pairings
zeroize implicit feature