one_two_eight

one_two_eight provides typed 128-bit identifiers

8 releases (breaking)

0.7.0 Oct 8, 2024
0.6.0 Sep 17, 2024
0.5.0 Aug 19, 2024
0.4.0 Dec 27, 2023
0.1.0 Jun 25, 2023
Download history 36/week @ 2024-06-26 4/week @ 2024-07-03 36/week @ 2024-07-10 56/week @ 2024-07-17 26/week @ 2024-07-24 35/week @ 2024-07-31 38/week @ 2024-08-07 162/week @ 2024-08-14 76/week @ 2024-08-21 82/week @ 2024-08-28 49/week @ 2024-09-04 192/week @ 2024-09-11 124/week @ 2024-09-18 73/week @ 2024-09-25 162/week @ 2024-10-02 104/week @ 2024-10-09

603 downloads per month
Used in 21 crates (8 directly)

Apache-2.0

50KB
1K SLoC

one_two_eight

one_two_eight provides typed 128-bit identifiers. Use generate_id to create a type, and possibly generate_id_protok to implement prototk::Message.

Status

Maintenance track. The library is considered stable and will be put into maintenance mode if unchanged for one year. The clock was last reset 2023-09-19.

Scope

This library provides the generate_id and generate_id_prototk macros.

Warts

  • Macros duplicate code, but that's what they do.

Documentation

The latest documentation is always available at docs.rs.

Updating

  • 0.1.1 -> 0.2.0: API expansion; otherwise backwards compatible.

Dependencies

~225KB