#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

#1703 in Network programming

Download history 10/week @ 2024-11-17 11/week @ 2024-11-24 315/week @ 2024-12-01 355/week @ 2024-12-08 1294/week @ 2024-12-15 86/week @ 2024-12-22 514/week @ 2024-12-29 1325/week @ 2025-01-05 861/week @ 2025-01-12 1036/week @ 2025-01-19 1042/week @ 2025-01-26 1183/week @ 2025-02-02 544/week @ 2025-02-09 618/week @ 2025-02-16 470/week @ 2025-02-23 788/week @ 2025-03-02

2,430 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

~44–260KB