Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: 17 days 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 (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-02-29T20:15:07.000Z (9 months ago)
- Last Synced: 2024-10-06T18:45:36.681Z (about 1 month ago)
- Topics: macaddr, rust
- Language: Rust
- Homepage:
- Size: 43.9 KB
- Stars: 11
- Watchers: 1
- Forks: 3
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
README
![advMAC](https://raw.githubusercontent.com/GamePad64/advmac/main/logo.svg)
Advanced MAC address library.
[![Crates.io](https://img.shields.io/crates/v/advmac?style=flat-square)](https://crates.io/crates/advmac)
[![docs.rs](https://img.shields.io/docsrs/advmac?style=flat-square)](https://docs.rs/advmac/latest)
[![Codecov](https://img.shields.io/codecov/c/gh/GamePad64/advmac?logo=codecov&style=flat-square)](https://codecov.io/gh/GamePad64/advmac)# Usage
Add this to your `Cargo.toml`:```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.