Cargo Features

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

The std feature is set by default whenever gp-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 ^0.20.0, sp-std ^9.0.0, sp-storage ^14.0.0, sp-tracing ^10.0.0, and gp-wasm-interface

Affects gp-runtime-interface::host, gp-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.