9 releases (breaking)

0.8.0 Dec 4, 2024
0.7.0 Oct 8, 2024
0.6.0 Sep 17, 2024
0.4.0 Dec 27, 2023
0.1.1 Jul 9, 2023

#435 in Rust patterns

Download history 39/week @ 2024-09-06 238/week @ 2024-09-13 105/week @ 2024-09-20 50/week @ 2024-09-27 213/week @ 2024-10-04 67/week @ 2024-10-11 33/week @ 2024-10-18 71/week @ 2024-10-25 74/week @ 2024-11-01 19/week @ 2024-11-08 242/week @ 2024-11-15 46/week @ 2024-11-22 206/week @ 2024-11-29 169/week @ 2024-12-06 53/week @ 2024-12-13 34/week @ 2024-12-20

463 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

~235KB