#udp-packet #ip #no-alloc #async #creation #networking #protocols

no-std edge-raw

Async + no_std + no-alloc implementation of IP and UDP packet creation and parsing

5 releases (breaking)

0.5.0 Jan 15, 2025
0.4.0 Jan 2, 2025
0.3.0 Sep 10, 2024
0.2.0 Feb 1, 2024
0.1.0 Jan 27, 2024

#1838 in Network programming

Download history 18/week @ 2024-10-08 12/week @ 2024-10-15 8/week @ 2024-10-22 24/week @ 2024-10-29 20/week @ 2024-11-05 7/week @ 2024-11-12 15/week @ 2024-11-19 11/week @ 2024-11-26 380/week @ 2024-12-03 349/week @ 2024-12-10 1278/week @ 2024-12-17 126/week @ 2024-12-24 669/week @ 2024-12-31 1464/week @ 2025-01-07 757/week @ 2025-01-14 1019/week @ 2025-01-21

3,968 downloads per month
Used in 3 crates (2 directly)

MIT/Apache

36KB
878 lines

edge-raw

CI crates.io Documentation

Async + no_std + no-alloc implementation of IP and UDP packet creation and parsing.

The edge_raw::io module contains implementations of the edge_nal::RawBind trait, as well as of the edge_nal::RawReceive and edge_nal::RawSend traits.

These are useful in the context of protocols like DHCP, which - while working on top of UDP - need to be capable of receiving and sending packets to peers that do not have an IP address assigned yet.

For other protocols, look at the edge-net aggregator crate documentation.

Examples

Look at the edge-dhcp crate as to how to utilize the capabilities of edge-raw.

Dependencies

~45–265KB