Cargo Features

[dependencies]
mithril-stm = { version = "0.3.31", default-features = false, features = ["rug-backend", "num-integer-backend", "portable", "benchmark-internals", "batch-verify-aggregates"] }
default = rug-backend

The rug-backend feature is set by default whenever mithril-stm is added without default-features = false somewhere in the dependency tree.

rug-backend default

Enables rug

num-integer-backend = num-bigint, num-rational, num-traits
portable

deprecated, will be removed soon

benchmark-internals

For benchmarking multi_sig

Affects mithril-stm::multi_sig

batch-verify-aggregates

For batch verification of multi-signatures (set automatically by build script)

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.

num-bigint not wasm win num-integer-backend?
num-rational not wasm win num-integer-backend?
num-traits not wasm win num-integer-backend?
rug not wasm win rug-backend