mac6

Convenient MAC data type

3 stable releases

new 1.2.0 Oct 18, 2024
1.1.0 Aug 2, 2024
1.0.0 Aug 1, 2024
Download history 207/week @ 2024-07-29 7/week @ 2024-08-05 3/week @ 2024-08-12 28/week @ 2024-09-16 16/week @ 2024-09-23 10/week @ 2024-09-30 23/week @ 2024-10-07

77 downloads per month

MIT license

5KB
90 lines

mac6

Convenient MAC data type for Rust.

  • can parse the following formats:
    • no separators: 123456abcdef
    • separated with leading 0s: 12:34:56:ab:cd:ef
    • seperated without leading 0s: 12:3:ab:cd:e => 12:03:ab:cd:0e
  • can represent MACs as a u64 if needed

Dependencies

~0–280KB