Cargo Features

[dependencies]
mithril-stm = { version = "0.3.17", default-features = false, features = ["rug-backend", "num-integer-backend", "portable", "benchmark-internals"] }
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

portable feature avoids SIGILL crashes on CPUs not supporting Intel ADX instruction set when built on CPUs that support it

Enables portable of blst

benchmark-internals

For benchmarking multi_sig

Affects mithril-stm::multi_sig

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 num-integer-backend?
num-rational num-integer-backend?
num-traits num-integer-backend?
rug rug-backend