eui48
A Rust library to represent and parse IEEE EUI-48 also known as MAC-48 media access control addresses. The IEEE claims trademarks on the names EUI-48 and EUI-64, in which EUI is an abbreviation for Extended Unique Identifier.
Usage
Add this to your Cargo.toml
:
[]
= "0.4.0"
and this to your crate root:
extern crate eui48;
Examples
To create a new MAC address and print it out in canonical form:
extern crate eui48;
use ;
References
Authors
- 0.1 Andrew Baumhauer - Initial design
- 0.2 rlcomstock3 - Added support for btree keys
- 0.3 Michal 'vorner' Vaner vorner+github@vorner.cz - Serde 1.0 support
- 0.3.1 Michal 'vorner' Vaner vorner+github@vorner.cz - Derive useful traits
- 0.4.0 Rainer Stademann - Define ABI as repr(C)