Registry / utility / sc-utils

sc-utils

JSON →
library20.1.0rscratesunverified

I/O for Substrate runtimes

# Cargo.toml [dependencies] sc-utils = "20.1.0"
INSTALL
IMPORT
SIG · SC-UTILS
S
sc-utils
utilityrustv20.1.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.

TracingUnboundedReceiver
use sc_utils::mpsc::TracingUnboundedReceiver;

Creates an unbounded channel with tracing.

use sc_utils::mpsc::TracingUnboundedReceiver; fn main() { let (tx, rx) = sc_utils::mpsc::unbounded::<u32>(); println!("Created channel"); }
Debug
Known issues
gotchaHeavily tied to Substrate/Polkadot ecosystem; may not be suitable for general use.
fix
Use only within Substrate-based projects.
affects: >=20.0.0
Upgrade
Version history
20.1.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
10 hits · last 30 days
node
8
Amazon
1
Resources
sc-utils — cargo add sc-utils · libregistry