Cargo Features
[dependencies]
ark-sponge = { version = "0.4.0-alpha", default-features = false, features = ["std", "r1cs"] }
- default = r1cs, std
-
These default features are set whenever
ark-sponge
is added without
somewhere in the dependency tree.default-features = false - std default
-
Enables std of ark-ff ^0.4.0-alpha, ark-r1cs-std ^0.4.0-alpha, ark-relations ^0.4.0-alpha, ark-serialize ^0.4.0-alpha, and ark-std ^0.4.0-alpha
ark-r1cs-std:
Dependencies for r1cs
- r1cs default = ark-r1cs-std, ark-relations, tracing
-
Affects
ark-sponge::constraints
,poseidon::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.