Registry / networking / sc-network

sc-network

JSON →
library0.57.0rscratesunverified

Substrate network protocol implementation.

# Cargo.toml [dependencies] sc-network = "0.57.0"
INSTALL
IMPORT
SIG · SC-NETWORK
S
sc-network
networkingrustv0.57.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.

NetworkService
✓ use sc_network::NetworkService;

Demonstrates importing the NetworkService type.

use sc_network::NetworkService; fn main() { // NetworkService is typically used within a Substrate service println!("NetworkService is available"); }
Debug
Known issues
gotchaRequires full Substrate node setup; not a standalone library.
fix
Use within a Substrate runtime or node project with proper dependencies.
affects: >=0.57.0
Upgrade
Version history
0.57.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

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