Skip to content

πŸ“‡ A very simple Rust library to get the manufacturer of a specific MAC address

License

Notifications You must be signed in to change notification settings

kkrypt0nn/rsmanuf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

rsmanuf

Docs.rs Badge Crates.io Badge CI Badge Dependency Status Badge

Discord Server Badge Last Commit Badge Conventional Commits Badge


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

cargo add rsmanuf

Example Usage

To get a manufacturer, you simply need to do the following

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 or join my Discord server.

Contributing

People may contribute by following the Contributing Guidelines and the Code of Conduct

License

This library was made with πŸ’œ by Krypton and is under the MIT License.