4 stable releases

1.0.3 Oct 12, 2022

#6 in #eui-48

Download history 29/week @ 2024-08-31 58/week @ 2024-09-07 13/week @ 2024-09-14 37/week @ 2024-09-21 27/week @ 2024-09-28 6/week @ 2024-10-05 47/week @ 2024-10-12 49/week @ 2024-10-19 87/week @ 2024-10-26 94/week @ 2024-11-02 79/week @ 2024-11-09 78/week @ 2024-11-16 56/week @ 2024-11-23 120/week @ 2024-11-30 116/week @ 2024-12-07 88/week @ 2024-12-14

390 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