Cargo Features

ark-mnt4-298 = { version = "0.5.0-alpha.0", default-features = false, features = ["std", "curve", "scalar_field", "base_field", "r1cs"] }
default = curve

The curve feature is set by default whenever ark-mnt4-298 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::fq4

scalar_field curve

Affects fields::fr

base_field curve r1cs?

Affects fields::fq

r1cs = ark-r1cs-std, base_field

Affects ark-mnt4-298::constraints

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-r1cs-std r1cs?