#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

#3 in #eui-48

Download history 255/week @ 2025-01-04 422/week @ 2025-01-11 431/week @ 2025-01-18 371/week @ 2025-01-25 184/week @ 2025-02-01 156/week @ 2025-02-08 177/week @ 2025-02-15 1012/week @ 2025-02-22 991/week @ 2025-03-01

2,350 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

~225–730KB
~17K SLoC