#eui-48 #eui-64 #macaddr

no-std advmac-rs

Advanced MAC address crate

2 stable releases

1.0.1 Aug 13, 2025
1.0.0 Aug 11, 2025

#544 in Operating systems

MIT license

25KB
439 lines

advMAC

Advanced MAC address library.

Crates.io docs.rs

Usage

Add this to your Cargo.toml:

[dependencies]
advmac-rs = "1"

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.8–1.6MB
~32K SLoC