#no-alloc #protocols #parser #edge-raw

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

#1525 in Embedded development

Download history 840/week @ 2025-01-11 1020/week @ 2025-01-18 1052/week @ 2025-01-25 1223/week @ 2025-02-01 526/week @ 2025-02-08 621/week @ 2025-02-15 455/week @ 2025-02-22 825/week @ 2025-03-01 351/week @ 2025-03-08 525/week @ 2025-03-15 643/week @ 2025-03-22 753/week @ 2025-03-29 1129/week @ 2025-04-05 666/week @ 2025-04-12 712/week @ 2025-04-19 662/week @ 2025-04-26

3,277 downloads per month
Used in 4 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

~46–265KB