Cargo Features

[dependencies]
zkp-stark = { version = "0.2.1", default-features = false, features = ["std", "inline", "prover", "zkp-logging-allocator"] }
default = inline, prover, std

These default features are set whenever zkp-stark is added without default-features = false somewhere in the dependency tree.

std default prover = hex, rayon, serde, thiserror, tinytemplate

Enables use_std of itertools ^0.9.0, std of log, no-std-compat, zkp-hash, zkp-macros-decl, zkp-merkle-tree, zkp-mmap-vec, zkp-primefield, and zkp-u256

inline default

Enables inline of zkp-primefield and zkp-u256

prover default = rand, std

Enables prover of zkp-merkle-tree

Affects zkp-stark::component, traits::Provable

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.

hex std
rand prover

Enables rand ^0.7.2

rayon std
serde std
thiserror std
tinytemplate std
zkp-logging-allocator implicit feature

Enables zkp-logging-allocator

zkp-logging-allocator:

Wrapper around the system allocator that logs large allocations