4 stable releases

1.0.3 Oct 12, 2022

#4 in #eui-48

Download history 20/week @ 2024-07-22 74/week @ 2024-07-29 17/week @ 2024-08-05 42/week @ 2024-08-12 22/week @ 2024-08-19 15/week @ 2024-08-26 32/week @ 2024-09-02 56/week @ 2024-09-09 9/week @ 2024-09-16 48/week @ 2024-09-23 18/week @ 2024-09-30 3/week @ 2024-10-07 51/week @ 2024-10-14 49/week @ 2024-10-21 92/week @ 2024-10-28 86/week @ 2024-11-04

278 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