Cargo Features

[dependencies]
sp-runtime-interface = { version = "27.0.0", default-features = false, features = ["std", "disable_target_static_assertions"] }
default = std

The std feature is set by default whenever sp-runtime-interface is added without default-features = false somewhere in the dependency tree.

std default

Enables std of bytes, parity-scale-codec, primitive-types, sp-externalities, sp-std, sp-storage, sp-tracing, and sp-wasm-interface

Affects sp-runtime-interface::host, sp-runtime-interface::Pointer, pass_by::PassByImpl

disable_target_static_assertions

ATTENTION

Only use when you know what you are doing.

Disables static assertions in impls.rs that checks the word size. To prevent any footgun, the check is changed into a runtime check.