Crate advmac

source ·
Expand description

advMAC

Advanced MAC address library.

Crates.io docs.rs Codecov

§Usage

Add this to your Cargo.toml:

[dependencies]
krata-advmac = "1.1.0"

§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.

Macros§

  • Convenience macro for creating MacAddr6 in compile-time.
  • Convenience macro for creating MacAddr8 in compile-time.

Structs§

  • MAC address, represented as EUI-48
  • MAC address, represented as EUI-64

Enums§

Constants§