#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

#1239 in Network programming

Download history 332/week @ 2025-01-05 345/week @ 2025-01-12 439/week @ 2025-01-19 402/week @ 2025-01-26 171/week @ 2025-02-02 164/week @ 2025-02-09

1,176 downloads per month
Used in 5 crates (via 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

~235–740KB
~17K SLoC