#mac-address #mac #oui #lookup #ieee #information #up

oui-data

Library for looking up information from the IEEE OUI database

5 releases

0.2.0 May 15, 2024
0.1.3 May 15, 2024
0.1.2 May 10, 2024
0.1.1 May 10, 2024
0.1.0 May 10, 2024

#1143 in Database interfaces

Download history 1/week @ 2024-11-12 9/week @ 2024-11-19 2/week @ 2024-11-26 59/week @ 2024-12-03 88/week @ 2024-12-10 13/week @ 2024-12-17 9/week @ 2024-12-24 79/week @ 2024-12-31 77/week @ 2025-01-07 29/week @ 2025-01-14 61/week @ 2025-01-21 78/week @ 2025-01-28 77/week @ 2025-02-04 86/week @ 2025-02-11

304 downloads per month

MIT license

1.5MB
172 lines

oui-data

A Rust library for looking up information from the IEEE OUI database.

Usage

Use the lookup function to lookup a MAC address in the MA-L, MA-M, MA-S, CID, and IAB registries.

let record = oui::lookup("00:00:00:00:00:00").unwrap();
assert_eq!(record.organization(), "XEROX CORPORATION");

Building

This library is largely generated code, derived from data hosted at http://standards-oui.ieee.org.

To build with updated records, run ./update_data.sh to update the CSV files, then just cargo build as usual.


lib.rs:

OUI database, generated from IEEE CSV files.

Use the lookup function to lookup a MAC address in the MA-L, MA-M, MA-S, CID, and IAB registries.

let record = oui::lookup("00:00:00:00:00:00").unwrap();
assert_eq!(record.organization(), "XEROX CORPORATION");

Dependencies