<div align="center">
# rsmanuf
[](https://docs.rs/rsmanuf)
[](https://crates.io/crates/rsmanuf)
[](https://github.com/kkrypt0nn/rsmanuf/actions)
[](https://deps.rs/repo/github/kkrypt0nn/rsmanuf)
[](https://discord.gg/mTBrXyWxAF)
[](https://github.com/kkrypt0nn/rsmanuf/commits/main)
[](https://conventionalcommits.org/en/v1.0.0/)
</div>
---
A very simple Rust library to get the manufacturer of a specific MAC address
## Getting Started
### Installation
If you want to use this library for one of your projects, you can install it like any other Rust crate
```bash
cargo add rsmanuf
```
### Example Usage
To get a manufacturer, you simply need to do the following
```rs
fn main() {
let index = rsmanuf::Index::new();
match index.search("C4:A8:1D:73:D7:8C") {
Ok(manuf) => {
println!("Manufacturer: {}", manuf)
}
Err(error) => {
println!("Error: {}", error)
}
}
}
```
## Troubleshooting
If 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).
## Contributing
People may contribute by following the [Contributing Guidelines](./CONTRIBUTING.md) and
the [Code of Conduct](./CODE_OF_CONDUCT.md)
## License
This library was made with 💜 by Krypton and is under the [MIT License](./LICENSE.md).