hwaddr

Crates.iohwaddr
lib.rshwaddr
version0.1.7
sourcesrc
created_at2017-05-23 19:02:12.852244
updated_at2020-11-27 16:00:17.513032
descriptionMAC address handling.
homepage
repositoryhttps://github.com/meh/rust-hwaddr
max_upload_size
id15734
size3,733,574
owners (github:robigalia:owners)

documentation

README

HwAddr

Hardware addresses with optional access to the producer database.

Building

Optionally the database of producers to find out who produces a certain MAC address can be compiled in by enabling the database feature. Keep in mind this database adds up to the final binary around 7MB.

By default a database is provided and used, otherwise there are a couple options.

  • Setting HWADDR_DATABASE to a path will use the given path as database.
  • Setting HWADDR_DOWNLOAD to 1 is going to download it from IEEE website (this is really slow)
  • Setting HWADDR_DOWNLOAD to a valid URL is going to download it from there.
Commit count: 19

cargo fmt