Cargo Features
[dependencies]
spartan = { version = "0.8.0", default-features = false, features = ["std", "simd_backend", "multicore", "profile"] }
- default = simd_backend, std
-
These default features are set whenever
spartan
is added without
somewhere in the dependency tree.default-features = false - std default
-
Enables rust_backend of flate2, use_std of itertools ^0.10.0, std of byteorder, curve25519-dalek ^3.2.0, and digest ^0.8.1 and std of merlin, rand ^0.7.3, serde, sha3 ^0.8.2, subtle, and zeroize
rand:
Option (enabled by default): without "std" rand uses libcore; this option enables functionality expected to be available on a standard platform.
Required by nizk and snark binaries
- simd_backend default
-
Enables simd_backend of curve25519-dalek ^3.2.0
- multicore = rayon
- profile = colored
-
Affects
timer::CALL_DEPTH
,timer::Timer
…
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.