Cargo Features
[dependencies]
mithril-stm = { version = "0.3.45", default-features = false, features = ["rug-backend", "num-integer-backend", "portable", "benchmark-internals", "batch-verify-aggregates"] }
- default = batch-verify-aggregates, rug-backend
-
These default features are set whenever
mithril-stm
is added without
somewhere in the dependency tree.default-features = false - 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::bls_multi_signature
… - batch-verify-aggregates default
-
deprecated, will be removed soon
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