#mac-address #eui-48 #eui64 #ieee802 #inifiband

no-std hardware-address

IEEE 802 MAC-48, EUI-48, EUI-64, or a 20-octet IP over InfiniBand link-layer addresses and more

1 unstable release

0.1.2 Jan 5, 2025
0.1.1 Jan 5, 2025
0.1.0 Jan 5, 2025

#891 in Network programming

Download history 153/week @ 2024-12-30 501/week @ 2025-01-06

654 downloads per month
Used in getifs

MIT/Apache

38KB
783 lines

Hardware Address

IEEE 802 MAC-48, EUI-48, EUI-64, or a 20-octet IP over InfiniBand link-layer addresses and more.

github LoC Build codecov

docs.rs crates.io crates.io license

Installation

[dependencies]
hardware-address = "0.1"

Pedigree

This code is inspired and modified based on Golang's mac implementation.

License

hardware-address is under the terms of both the MIT license and the Apache License (Version 2.0).

See LICENSE-APACHE, LICENSE-MIT for details.

Copyright (c) 2025 Al Liu.

Dependencies

~230–740KB
~17K SLoC