Cargo Features

ark-bls12-377 = { version = "0.4.0", default-features = false, features = ["std", "curve", "scalar_field", "base_field", "r1cs"] }
default = curve

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


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

curve default = base_field, scalar_field

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

scalar_field curve

Affects fields::fr

base_field curve r1cs?

Affects fields::fq

r1cs = ark-r1cs-std, base_field

Affects ark-bls12-377::constraints

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features.

ark-r1cs-std r1cs?