mac-addr 0.1.0

Lightweight, no_std compatible MAC address library
Documentation

mac-addr

Lightweight and dependency-free MAC address type for Rust.
Supports no_std, serde, and alloc environments.

Crates.io License

Overview

mac-addr provides a minimal MacAddr type representing a 48-bit IEEE EUI-48 hardware address.

It’s designed for portability and low-level use:

  • no_std compatible
  • Optional alloc for string formatting
  • Optional serde support for serialization and deserialization
  • Small, efficient, and FFI-safe

Features

Feature Default Description
std Use Rust standard library
alloc Enable heap allocation for MacAddr::address()
serde Add serde::Serialize / Deserialize implementations