{"id":16088653,"url":"https://github.com/kkrypt0nn/rsmanuf","last_synced_at":"2025-03-18T06:30:53.912Z","repository":{"id":202735146,"uuid":"706344849","full_name":"kkrypt0nn/rsmanuf","owner":"kkrypt0nn","description":"📇 A very simple Rust library to get the manufacturer of a specific MAC address","archived":false,"fork":false,"pushed_at":"2024-10-24T01:21:59.000Z","size":1298,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"main","last_synced_at":"2024-10-24T11:35:29.779Z","etag":null,"topics":["mac","mac-address","mac-address-analyzer","mac-address-generator","mac-address-manufacturer","mac-addresses","manuf","manufacturer","rsmanuf","rust","rust-lang","wireshark"],"latest_commit_sha":null,"homepage":"https://krypton.ninja","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/kkrypt0nn.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"LICENSE.md","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":"kkrypt0nn","ko_fi":"kkrypt0nn","custom":["https://buymeacoffee.com/kkrypt0nn"]}},"created_at":"2023-10-17T19:05:29.000Z","updated_at":"2024-10-24T01:22:02.000Z","dependencies_parsed_at":"2023-10-26T14:14:57.465Z","dependency_job_id":"82edec8c-88c1-472d-a403-9eb50ac5b4b8","html_url":"https://github.com/kkrypt0nn/rsmanuf","commit_stats":null,"previous_names":["kkrypt0nn/rsmanuf"],"tags_count":14,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kkrypt0nn%2Frsmanuf","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kkrypt0nn%2Frsmanuf/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kkrypt0nn%2Frsmanuf/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kkrypt0nn%2Frsmanuf/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kkrypt0nn","download_url":"https://codeload.github.com/kkrypt0nn/rsmanuf/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243907658,"owners_count":20367265,"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","mac-address","mac-address-analyzer","mac-address-generator","mac-address-manufacturer","mac-addresses","manuf","manufacturer","rsmanuf","rust","rust-lang","wireshark"],"created_at":"2024-10-09T13:44:04.058Z","updated_at":"2025-03-18T06:30:53.907Z","avatar_url":"https://github.com/kkrypt0nn.png","language":"Rust","funding_links":["https://github.com/sponsors/kkrypt0nn","https://ko-fi.com/kkrypt0nn","https://buymeacoffee.com/kkrypt0nn"],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n\n# rsmanuf\n\n[![Docs.rs Badge](https://img.shields.io/badge/docs.rs-rsmanuf-61c192.svg)](https://docs.rs/rsmanuf)\n[![Crates.io Badge](https://img.shields.io/crates/v/rsmanuf.svg?color=fe7d37)](https://crates.io/crates/rsmanuf)\n[![CI Badge](https://github.com/kkrypt0nn/rsmanuf/actions/workflows/ci.yml/badge.svg)](https://github.com/kkrypt0nn/rsmanuf/actions)\n[![Dependency Status Badge](https://deps.rs/repo/github/kkrypt0nn/rsmanuf/status.svg)](https://deps.rs/repo/github/kkrypt0nn/rsmanuf)\n\n[![Discord Server Badge](https://img.shields.io/discord/739934735387721768?logo=discord)](https://discord.gg/mTBrXyWxAF)\n[![Last Commit Badge](https://img.shields.io/github/last-commit/kkrypt0nn/rsmanuf)](https://github.com/kkrypt0nn/rsmanuf/commits/main)\n[![Conventional Commits Badge](https://img.shields.io/badge/Conventional%20Commits-1.0.0-%23FE5196?logo=conventionalcommits\u0026logoColor=white)](https://conventionalcommits.org/en/v1.0.0/)\n\n\u003c/div\u003e\n\n---\n\nA very simple Rust library to get the manufacturer of a specific MAC address\n\n## Getting Started\n\n### Installation\n\nIf you want to use this library for one of your projects, you can install it like any other Rust crate\n\n```bash\ncargo add rsmanuf\n```\n\nIf you want to have the online indexing method to always use the most up to date version of the [`manuf.txt`](./src/manuf.txt) file, you need to install it with the `online` feature:\n\n```bash\ncargo add rsmanuf --features online\n```\n\n### Versioning\n\nThe versioning of the library is the following: `YYYY.MM.DD` where the leading `0` is **removed** from the version due to Crates.io not wanting leading zeroes.\n\nVersions are automatically released every month on the first day of that month.\n\n### Example Usage\n\n#### Offline Lookup (preferred)\n\n```rust\nfn main() {\n    match rsmanuf::lookup(\"C4:A8:1D:73:D7:8C\") {\n        Ok(manuf) =\u003e {\n            println!(\"Manufacturer: {}\", manuf)\n        }\n        Err(error) =\u003e {\n            println!(\"Error: {}\", error)\n        }\n    }\n}\n```\n\n#### Online Lookup\n\n\u003e [!NOTE]\n\u003e The **`online`** feature needs to be enabled.\n\n```rust\nfn main() {\n    match rsmanuf::online::lookup(\"C4:A8:1D:73:D7:8C\") {\n        Ok(manuf) =\u003e {\n            println!(\"Manufacturer: {}\", manuf)\n        }\n        Err(error) =\u003e {\n            println!(\"Error: {}\", error)\n        }\n    }\n}\n```\n\n## Troubleshooting\n\nIf you have problems using the crate, you can open up an [issue](https://github.com/kkrypt0nn/rsmanuf/issues) or join my [Discord server](https://discord.gg/mTBrXyWxAF).\n\n## Contributing\n\nPeople may contribute by following the [Contributing Guidelines](./CONTRIBUTING.md) and\nthe [Code of Conduct](./CODE_OF_CONDUCT.md)\n\n## License\n\nThis library was made with 💜 by Krypton and is under the [MIT License](./LICENSE.md).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkkrypt0nn%2Frsmanuf","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkkrypt0nn%2Frsmanuf","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkkrypt0nn%2Frsmanuf/lists"}