8 breaking releases

new 0.9.0 Feb 4, 2025
0.8.0 Dec 4, 2024
0.7.0 Oct 8, 2024
0.4.0 Dec 27, 2023
0.1.1 Jul 9, 2023

#431 in Rust patterns

Download history 42/week @ 2024-10-17 58/week @ 2024-10-24 62/week @ 2024-10-31 45/week @ 2024-11-07 221/week @ 2024-11-14 67/week @ 2024-11-21 160/week @ 2024-11-28 187/week @ 2024-12-05 77/week @ 2024-12-12 42/week @ 2024-12-19 11/week @ 2024-12-26 10/week @ 2025-01-02 22/week @ 2025-01-09 31/week @ 2025-01-16 12/week @ 2025-01-23 139/week @ 2025-01-30

210 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

~240KB