Cargo Features

roles_logic_sv2 has no features set by default.

[dependencies]
roles_logic_sv2 = { version = "1.2.1", features = ["with_serde", "prop_test", "disable_nopanic"] }
with_serde = serde

Enables with_serde of binary_sv2, common_messages_sv2, job_declaration_sv2, mining_sv2, and template_distribution_sv2

prop_test

Enables prop_test of template_distribution_sv2

disable_nopanic

Code coverage tools may conflict with the nopanic logic, so we can disable it when needed

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.

serde with_serde?