Cargo Features

Mithril-common has no features set by default.

[dependencies]
mithril-common = { version = "0.3.21", features = ["full", "random", "fs", "portable", "allow_skip_signer_certification", "test_tools", "apispec", "test_http_server"] }
full = fs, random, test_tools

Full feature set

random full? test_tools?

Enables getrandom of rand_core

fs full?

Enables pallas-addresses ^0.24.0, pallas-codec ^0.24.0, pallas-hardano ^0.24.0, pallas-network ^0.24.0, pallas-primitives ^0.24.0, and pallas-traverse ^0.24.0, fs and process of tokio

portable

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

Enables portable of mithril-stm

allow_skip_signer_certification

Disable signer certification, to be used only for tests

test_tools full? = apispec, random, test_http_server

Enable all tests tools

apispec test_tools?

Enable tools to helps validate conformity to an OpenAPI specification

Enables glob, jsonschema ^0.17.1, reqwest, and warp

Affects test_utils::apispec

test_http_server test_tools?

Enables warp

Affects test_utils::test_http_server