#128-bit #typed #identifier #eight #message #generate-id

one_two_eight

one_two_eight provides typed 128-bit identifiers

9 breaking releases

0.10.0 Aug 8, 2025
0.9.0 Feb 4, 2025
0.8.0 Dec 4, 2024
0.7.0 Oct 8, 2024
0.1.1 Jul 9, 2023

#1133 in Encoding

Download history 43/week @ 2025-06-28 33/week @ 2025-07-05 17/week @ 2025-07-12 33/week @ 2025-07-19 19/week @ 2025-07-26 85/week @ 2025-08-02 85/week @ 2025-08-09 64/week @ 2025-08-16 72/week @ 2025-08-23 133/week @ 2025-08-30 97/week @ 2025-09-06 87/week @ 2025-09-13 53/week @ 2025-09-20 112/week @ 2025-09-27 36/week @ 2025-10-04 62/week @ 2025-10-11

278 downloads per month
Used in 23 crates (9 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

~240KB