4 stable releases

1.0.3 Oct 12, 2022

#4 in #eui-48

Download history 149/week @ 2023-12-06 131/week @ 2023-12-13 74/week @ 2023-12-20 43/week @ 2023-12-27 108/week @ 2024-01-03 68/week @ 2024-01-10 71/week @ 2024-01-17 85/week @ 2024-01-24 77/week @ 2024-01-31 62/week @ 2024-02-07 64/week @ 2024-02-14 77/week @ 2024-02-21 80/week @ 2024-02-28 76/week @ 2024-03-06 102/week @ 2024-03-13 85/week @ 2024-03-20

352 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