Expand description
Advanced MAC address library.
Usage
Add this to your Cargo.toml
:
[dependencies]
advmac = "1.0.3"
Features:
- EUI-48 and EUI-64.
- Extensive
no_std
support. serde
support (even onno_std
).const fn
address parser with convenience macros for compile-time address handling:mac6!
,mac8!
.- MAC address generation and editing.
Macros
Structs
Enums
Constants
Size of formatted MAC using MacAddr6::format_string and MacAddrFormat::Canonical.
Size of formatted MAC using MacAddr8::format_string and MacAddrFormat::Canonical.
Size of formatted MAC using MacAddr6::format_string and MacAddrFormat::ColonNotation.
Size of formatted MAC using MacAddr8::format_string and MacAddrFormat::ColonNotation.
Size of formatted MAC using MacAddr6::format_string and MacAddrFormat::DotNotation.
Size of formatted MAC using MacAddr8::format_string and MacAddrFormat::DotNotation.
Size of formatted MAC using MacAddr6::format_string and MacAddrFormat::Hexadecimal0x.
Size of formatted MAC using MacAddr8::format_string and MacAddrFormat::Hexadecimal0x.
Size of formatted MAC using MacAddr6::format_string and MacAddrFormat::Hexadecimal.
Size of formatted MAC using MacAddr8::format_string and MacAddrFormat::Hexadecimal.
Maximum formatted size.