10 releases (breaking)
0.8.1 | Sep 24, 2024 |
---|---|
0.7.1 | Feb 1, 2024 |
0.5.0 | Oct 19, 2023 |
0.3.0 | May 14, 2023 |
0.1.1 | Nov 23, 2022 |
#1242 in Embedded development
320KB
7K
SLoC
edge-net
This crate ships async + no_std
+ no-alloc implementations of various network protocols.
Suitable for microcontrollers and embedded systems in general.
Supported protocols
- HTTP client and server
- Websocket send/receive
- DNS Captive Portal
- mDNS responder
- DHCP cient and server
- Raw IP & UDP packet send/receive (useful in combination with the DHCP client and server)
- MQTT client (currently just a slim wrapper around
rumqttc
, so needs STD) - TCP, UDP and raw sockets
Supported platforms
- The Rust Standard library
- The networking stack of Embassy
- Any other platform, as long as you implement (a subset of) edge-nal
- The necessary minimum being the
Read
/Write
traits from embedded_io_async - for modeling TCP sockets - andUdpReceive
/UdpSend
from edge-nal - for modeling UDP sockets - Most crates (edge-captive, edge-dhcp, edge-ws, edge-raw) also provide a compute-only subset that does not need embedded-io-async or edge-nal traits
- The necessary minimum being the
PRs welcome!
Dependencies
~6–17MB
~252K SLoC