3 stable releases

1.2.0 Oct 18, 2024
1.1.0 Aug 2, 2024
1.0.0 Aug 1, 2024

#1122 in Parser implementations

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–270KB