Registry / networking / sp-wasm-interface

sp-wasm-interface

JSON →
library24.0.0rscratesunverified

Types and traits for interfacing between the host and the wasm runtime in Substrate/Polkadot.

# Cargo.toml [dependencies] sp-wasm-interface = "24.0.0"
INSTALL
IMPORT
SIG · SP-WASM-INTERFACE
S
sp-wasm-interface
networkingrustv24.0.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

HostFunctions
use sp_wasm_interface::HostFunctions;

Demonstrate the HostFunctions trait for wasm interface.

use sp_wasm_interface::HostFunctions; fn main() { // HostFunctions trait is implemented by runtime types println!("HostFunctions trait available"); }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
24.0.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
9 hits · last 30 days
node
8
OpenAI (training)
1
Resources
sp-wasm-interface — cargo add sp-wasm-interface · libregistry