Cargo Features
[dependencies]
ark-bn254-zypher = { version = "0.4.0", default-features = false, features = ["std", "r1cs", "curve", "scalar_field"] }
- default = curve
-
The
curve
feature is set by default wheneverark-bn254-zypher
is added without
somewhere in the dependency tree.default-features = false - std
-
Enables std of ark-ec-zypher, ark-ff-zypher, optional ark-r1cs-std-zypher, and ark-std-zypher
- r1cs = ark-r1cs-std
-
Affects
ark-bn254-zypher::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.
- ark-r1cs-std r1cs?
-
Enables ark-r1cs-std-zypher