Cargo Features
[dependencies]
spartan = { version = "0.9.0", default-features = false, features = ["std", "multicore", "profile"] }
- default = std
-
The
std
feature is set by default wheneverspartan
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 and digest ^0.8.1 and std of merlin, rand, serde, sha3 ^0.8.2, and subtle
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
- 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.