#oui #mac-address #mac

oui-data

Library for looking up information from the IEEE OUI database

6 releases

0.2.1 Aug 24, 2025
0.2.0 May 15, 2024
0.1.3 May 15, 2024

#1052 in Database interfaces

Download history 116/week @ 2025-10-10 129/week @ 2025-10-17 127/week @ 2025-10-24 155/week @ 2025-10-31 91/week @ 2025-11-07 97/week @ 2025-11-14 155/week @ 2025-11-21 161/week @ 2025-11-28 200/week @ 2025-12-05 112/week @ 2025-12-12 76/week @ 2025-12-19 3/week @ 2025-12-26 115/week @ 2026-01-02 116/week @ 2026-01-09 346/week @ 2026-01-16 443/week @ 2026-01-23

1,023 downloads per month
Used in 3 crates (via r-lanlib)

MIT license

2MB
172 lines

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");

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.

Dependencies