4 stable releases

1.0.3 Oct 12, 2022

#5 in #eui-48

Download history 112/week @ 2024-03-28 63/week @ 2024-04-04 85/week @ 2024-04-11 132/week @ 2024-04-18 86/week @ 2024-04-25 55/week @ 2024-05-02 52/week @ 2024-05-09 50/week @ 2024-05-16 55/week @ 2024-05-23 80/week @ 2024-05-30 53/week @ 2024-06-06 41/week @ 2024-06-13 14/week @ 2024-06-20 5/week @ 2024-06-27 56/week @ 2024-07-04 17/week @ 2024-07-11

93 downloads per month
Used in netconfig

MIT license

25KB
454 lines

advMAC

Advanced MAC address library.

Crates.io docs.rs Codecov

Usage

Add this to your Cargo.toml:

[dependencies]
advmac = "1.0.3"

Features:

  • EUI-48 and EUI-64.
  • Extensive no_std support.
  • serde support (even on no_std).
  • const fn address parser with convenience macros for compile-time address handling: mac6!, mac8!.
  • MAC address generation and editing.

Dependencies

~0.5–1MB
~17K SLoC