#identifier #128-bit #message #prototk #typed #generate-id-protok

one_two_eight

one_two_eight provides typed 128-bit identifiers

5 releases (3 breaking)

0.4.0 Dec 27, 2023
0.3.0 Sep 21, 2023
0.2.0 Aug 2, 2023
0.1.1 Jul 9, 2023
0.1.0 Jun 25, 2023

#6 in #128-bit

Download history 8/week @ 2023-12-18 46/week @ 2023-12-25 7/week @ 2024-01-08 4/week @ 2024-02-12 67/week @ 2024-02-19 53/week @ 2024-02-26 19/week @ 2024-03-04 36/week @ 2024-03-11 19/week @ 2024-03-18 8/week @ 2024-03-25 132/week @ 2024-04-01

200 downloads per month
Used in 16 crates (7 directly)

Apache-2.0

49KB
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

~210KB