Cargo Features
[dependencies]
ark-bn254 = { version = "0.5.0", default-features = false, features = ["std", "r1cs", "curve", "scalar_field"] }
- default = curve
-
The
curvefeature is set by default wheneverark-bn254is added withoutsomewhere in the dependency tree.default-features = false - std
-
Enables std of ark-ec, ark-ff, optional ark-r1cs-std, and ark-std
- r1cs = ark-r1cs-std
-
Affects
ark-bn254::constraints… - curve default = scalar_field
-
Affects
fields::fq,fields::fq2,fields::fq6,fields::fq12… - scalar_field curve
-
Affects
fields::fr…
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.