Registry / networking / no-std-net

no-std-net

JSON →
library0.6.0rscratesunverified

Provides std::net networking types for no_std environments.

# Cargo.toml [dependencies] no-std-net = "0.6.0"
INSTALL
IMPORT
SIG · NO-STD-NET
N
no-std-net
networkingrustv0.6.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.

TcpStream
use no_std_net::TcpStream;

Connect to a TCP server without std.

use no_std_net::TcpStream; fn main() -> Result<(), Box<dyn std::error::Error>> { let mut stream = TcpStream::connect("127.0.0.1:8080")?; Ok(()) }
Debug
Known issues
gotchaRequires a global allocator and may need platform-specific features.
fix
Ensure you have a global allocator (e.g., `#[global_allocator]`) and enable the correct feature flags for your target.
affects: >=0.6.0
Upgrade
Version history
0.6.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
no-std-net — cargo add no-std-net · libregistry