https://github.com/gamepad64/advmac
Advanced MAC address library with const fn parser, no_std and serde support
https://github.com/gamepad64/advmac
macaddr rust
Last synced: about 2 months ago
JSON representation
Advanced MAC address library with const fn parser, no_std and serde support
- Host: GitHub
- URL: https://github.com/gamepad64/advmac
- Owner: GamePad64
- Created: 2022-10-11T13:59:14.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-12-02T01:31:36.000Z (6 months ago)
- Last Synced: 2025-03-20T22:08:57.625Z (about 2 months ago)
- Topics: macaddr, rust
- Language: Rust
- Homepage:
- Size: 47.9 KB
- Stars: 13
- Watchers: 1
- Forks: 4
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
README

Advanced MAC address library.
[](https://crates.io/crates/advmac)
[](https://docs.rs/advmac/latest)
[](https://codecov.io/gh/GamePad64/advmac)# Usage
Add this to your `Cargo.toml`:```toml
[dependencies]
advmac = "1.1.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.