IEEE-Registry
The IEEE-Registry crate provides a locally cached copy of the IEEE Registration Authority's public listings in the current users ~/.local/share/ieee/
directory in order to be used for lookup purposes.
The crate provides two ways of caching the IEEE registry public listings:
)
or programatically:
use *;
// Get the path to oui.csv, downloading it if necessary.
let oui_path = get_oui_path;
Currently, we check the age of the downloaded file. If it's more than 30 days old, a new copy will be downloaded.