Cargo Features

[dependencies]
ark-bls12-381 = { version = "0.5.0", default-features = false, features = ["std", "curve", "scalar_field"] }
default = curve

The curve feature is set by default whenever ark-bls12-381 is added without default-features = false somewhere in the dependency tree.

std

Enables std of ark-ec, ark-ff, and ark-std

curve default = scalar_field

Affects fields::fq, fields::fq2, fields::fq6, fields::fq12

scalar_field curve

Affects fields::fr