Registry / other / sp-io
library46.0.0rscratesunverified

I/O for Substrate runtimes

# Cargo.toml [dependencies] sp-io = "46.0.0"
INSTALL
IMPORT
SIG · SP-IO
S
sp-io
otherrustv46.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.

blake2_256
use sp_io::hashing::blake2_256;

Compute a Blake2 256-bit hash using Substrate's I/O functions.

use sp_io::hashing::blake2_256; let hash = blake2_256(b"hello"); println!("{:?}", hash);
Debug
Known issues
breakingOnly works within a Substrate runtime context; not for standalone use.
fix
Use this crate only inside a Substrate runtime or with the appropriate environment.
affects: >=1.0
Upgrade
Version history
46.0.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
sp-io — cargo add sp-io · libregistry