{"id":19045425,"url":"https://github.com/marirs/mac-oui","last_synced_at":"2025-06-29T07:38:01.431Z","repository":{"id":57635898,"uuid":"338232956","full_name":"marirs/mac-oui","owner":"marirs","description":"Lookup for MAC OUI vendor details from the oui database","archived":false,"fork":false,"pushed_at":"2024-09-07T03:57:22.000Z","size":6673,"stargazers_count":7,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-16T05:09:06.508Z","etag":null,"topics":["mac-address","networking","oui","oui-database","oui-search","ouilookup","rust","rust-crate","rust-lang","rust-library"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/marirs.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2021-02-12T05:32:46.000Z","updated_at":"2024-09-07T03:57:25.000Z","dependencies_parsed_at":"2024-04-05T04:25:40.090Z","dependency_job_id":"a69c0cab-0b8a-4456-a8c1-7f7c30e6d3f3","html_url":"https://github.com/marirs/mac-oui","commit_stats":{"total_commits":24,"total_committers":3,"mean_commits":8.0,"dds":0.25,"last_synced_commit":"d539129025d993f4eaf9513446f4aeab1d18ee25"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/marirs/mac-oui","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marirs%2Fmac-oui","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marirs%2Fmac-oui/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marirs%2Fmac-oui/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marirs%2Fmac-oui/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/marirs","download_url":"https://codeload.github.com/marirs/mac-oui/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marirs%2Fmac-oui/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260705873,"owners_count":23049493,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["mac-address","networking","oui","oui-database","oui-search","ouilookup","rust","rust-crate","rust-lang","rust-library"],"created_at":"2024-11-08T22:50:11.049Z","updated_at":"2025-06-29T07:38:01.413Z","avatar_url":"https://github.com/marirs.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"MAC Address lookup tool\n=========================\n[![Linux Arm7](https://github.com/marirs/mac-oui/actions/workflows/linux_arm.yml/badge.svg)](https://github.com/marirs/mac-oui/actions/workflows/linux_arm.yml)\n[![Linux x86_64](https://github.com/marirs/mac-oui/actions/workflows/linux_x86_64.yml/badge.svg)](https://github.com/marirs/mac-oui/actions/workflows/linux_x86_64.yml)\n[![macOS](https://github.com/marirs/mac-oui/actions/workflows/macos.yml/badge.svg)](https://github.com/marirs/mac-oui/actions/workflows/macos.yml)\n[![Windows](https://github.com/marirs/mac-oui/actions/workflows/windows.yml/badge.svg)](https://github.com/marirs/mac-oui/actions/workflows/windows.yml)\n![Crates.io](https://img.shields.io/crates/v/mac_oui)\n[![Documentation](https://docs.rs/mac_oui/badge.svg)](https://docs.rs/mac_oui)\n\nLookup the MAC Address for a corresponding details (eg: org, created, etc...)\n\n## Requirements\n\n- Rust 1.70+ (edition 2021)\n\n## Compile\n- Dev\n```bash\ncargo b\n```\n- Release\n```bash \ncargo b --release\n```\n\n## Usage\n\nYou can include this in your Cargo.toml file:\n```toml\n[dependencies]\nmac_oui = \"0.4.11\"\n```\n\nIf you want to use it with the inbuilt oui db; then:\n```toml\n[dependencies]\nmac_oui = { version = \"0.4.11\", features = [\"with-db\"] }\n```\n\nand then\n\n```rust\nuse mac_oui::Oui;\n\nfn main () {\n    let oui_db = Oui::default();\n    assert!(oui_db.is_ok());\n}\n```\n\n## Running the Example\nYou can run the default example that is included in the following manner.\n- `cargo run --example mac_lookup \u003cmac address\u003e` eg:\n```bash\ncargo run --features=\"with-db\" --example mac_lookup '70:B3:D5:e7:4f:81'\n    Finished dev [optimized + debuginfo] target(s) in 1.54s\n     Running `target/debug/examples/mac_lookup '70:B3:D5:e7:4f:81'`\nEntry {\n    oui: \"70:B3:D5\",\n    is_private: false,\n    company_name: \"Ieee Registration Authority\",\n    company_address: \"445 Hoes Lane Piscataway NJ 08554 US\",\n    country_code: \"US\",\n    assignment_block_size: \"MA-L\",\n    date_created: \"2014-01-12\",\n    date_updated: \"2016-04-27\",\n}\n```\n- Example of lookup by Manufacturer\n```bash\n$ cargo run --features=\"with-db\" --example manufacturer_lookup \"Apple, Inc\"\n    Finished dev [optimized + debuginfo] target(s) in 0.02s\n     Running `target/debug/examples/manufacturer_lookup 'Apple, Inc'`\n[\n    Entry {\n        oui: \"...\",\n        is_private: false,\n        company_name: \"Apple, Inc\",\n        company_address: \"1 Infinite Loop Cupertino CA 95014 US\",\n        country_code: \"US\",\n        assignment_block_size: \"MA-L\",\n        date_created: \"2017-02-21\",\n        date_updated: \"2017-02-21\",\n    },\n    \u003cclip\u003e....\n]\n```\n\n- Example Getting a list of Manufacturers\n```bash\n$ cargo run --features=\"with-db\" --example db_stats\n    Finished dev [optimized + debuginfo] target(s) in 0.06s\n     Running `target/debug/examples/db_stats`\nTotal Records= 51615\nTotal Manufacturers= 30840\nTotal MAC Addrs= 51615\n\n====Manufacturers====\n[\n    \"\\\"Azimut\\\" Production Association Jsc\",\n    \"\\\"Continent\\\" Co Ltd\",\n    \"\\\"Meta-chrom\\\" Co Ltd\",\n    \"\\\"Rpc \\\"Energoautomatika\\\" Ltd\",\n    \"(UN)Manned\",\n    \"+plugg srl\",\n    \"01db-Metravib\",\n    \"1.A Connect GmbH\",\n    \"1000eyes GmbH\",\n    \"100fio networks Tech Llc\",\n    \"10net Communications/Dca\",\n    \"11811347 Canada Inc\",\n    \"11wave Technonlogy Co, Ltd\",\n    \"12Sided Tech, Llc\",\n    \"1394 Printer Working Group\",\n    \"1394 Trade Association\",\n    \"16063\",\n    \"1Net Corp\",\n    \"1Verge Internet Tech (Beijing) Co, Ltd\",\n    \"1more\",\n]\n...\n[\n    \"杭州德澜科技有限公司（HangZhou Delan Tech Co, Ltd）\",\n    \"\\u{200b}Asung Techno Co, Ltd\",\n    \"éolane\",\n    \"Östling Marking Systems GmbH\",\n    \"Öresundskraft AB\",\n    \"Åmic AB\",\n    \"µTech Tecnologia Ltda\",\n    \"«Intellect module» Llc\",\n    \"zxsolution\",\n    \"zte Corp\",\n    \"zhejiang yuanwang communication technolgy Co, Ltd\",\n    \"zhejiang ebang communication Co, Ltd\",\n    \"zhejiang Dusun Electron Co, Ltd\",\n    \"zhejiang Anhong Tech Co, Ltd\",\n    \"z-max mediasolution\",\n    \"yLez Tech Pte Ltd\",\n    \"xxter b.v.\",\n    \"xvtec Ltd\",\n    \"xn systems\",\n    \"xmi systems\",\n]\n```\n---\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarirs%2Fmac-oui","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmarirs%2Fmac-oui","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarirs%2Fmac-oui/lists"}