Cargo Features

[dependencies]
cosmian_bls12_381 = { version = "0.4.1", default-features = false, features = ["alloc", "endo", "groups", "nightly", "pairings"] }
default = alloc, endo, groups, pairings

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

alloc default

Enables alloc of group ^0.9

Affects pairings::G2Prepared, pairings::multi_miller_loop

endo default
groups default pairings = group
nightly

Enables nightly of subtle

subtle:

DEPRECATED: As of 2.4.1, this feature does nothing.

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

Enables pairing ^0.19

group alloc groups

Enables group ^0.9