#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

3 releases (breaking)

0.3.0 Sep 10, 2024
0.2.0 Feb 1, 2024
0.1.0 Jan 27, 2024

#2082 in Network programming

Download history 45/week @ 2024-08-26 2/week @ 2024-09-02 203/week @ 2024-09-09 29/week @ 2024-09-16 40/week @ 2024-09-23 9/week @ 2024-09-30 19/week @ 2024-10-07 17/week @ 2024-10-14 5/week @ 2024-10-21 22/week @ 2024-10-28 17/week @ 2024-11-04 14/week @ 2024-11-11 16/week @ 2024-11-18 7/week @ 2024-11-25 337/week @ 2024-12-02 346/week @ 2024-12-09

706 downloads per month
Used in 3 crates (2 directly)

MIT/Apache

34KB
809 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

~95KB