oui-data

Crates.iooui-data
lib.rsoui-data
version0.2.0
sourcesrc
created_at2024-05-10 17:10:53.404795
updated_at2024-05-15 22:08:59.753404
descriptionLibrary for looking up information from the IEEE OUI database.
homepage
repositoryhttps://github.com/jwalton/rs-oui-data
max_upload_size
id1236211
size4,886,374
Jason Walton (jwalton)

documentation

README

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.

Commit count: 8

cargo fmt