#mac #parser #addresses

mac-parser

A minimal crate for parsing MAC addresses and analysing them

5 releases

0.1.4 Jan 5, 2024
0.1.3 Sep 25, 2023
0.1.2 Sep 3, 2023
0.1.1 Jun 13, 2023
0.1.0 Jun 13, 2023

#20 in #addresses

48 downloads per month
Used in 3 crates

MIT/Apache

7KB
81 lines

mac-parser

A minimal crate, providing a debug formater and information about the MAC itself. I wrote it, because this code can be shared between two crates of mine.

no-std

This crate only requires the core crate(i.e. no allocations).

Performance

Since the parsing is just a simple copy operation, speeds of up to 1.05G MACs/s were achieved on my Intel 12th Gen i5-1240p.

Dependencies

~96KB