Registry / networking / embedded-nal-async

embedded-nal-async

JSON →
library0.9.0rscratesunverified

An Async Network Abstraction Layer (NAL) for Embedded Systems providing async networking primitives for embedded devices.

# Cargo.toml [dependencies] embedded-nal-async = "0.9.0"
INSTALL
IMPORT
SIG · EMBEDDED-NAL-ASYNC
E
embedded-nal-async
networkingrustv0.9.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.

TcpClientStack
use embedded_nal_async::TcpClientStack;

Basic usage of async TCP client stack

use embedded_nal_async::TcpClientStack; async fn example(stack: &mut impl TcpClientStack) { let socket = stack.socket().await.unwrap(); println!("Socket created"); }
Debug
Known issues
gotchaRequires an async executor like embassy or tokio
fix
Add an async runtime dependency and ensure you are in an async context
affects: >=0.9.0
Upgrade
Version history
0.9.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
30 hits · last 30 days
node
28
Resources
embedded-nal-async — cargo add embedded-nal-async · libregistry