8 breaking releases

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

#440 in Rust patterns

Download history 158/week @ 2024-11-13 121/week @ 2024-11-20 54/week @ 2024-11-27 286/week @ 2024-12-04 88/week @ 2024-12-11 30/week @ 2024-12-18 27/week @ 2024-12-25 7/week @ 2025-01-01 28/week @ 2025-01-08 25/week @ 2025-01-15 18/week @ 2025-01-22 125/week @ 2025-01-29 73/week @ 2025-02-05 29/week @ 2025-02-12 32/week @ 2025-02-19 24/week @ 2025-02-26

276 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