21 releases

Uses new Rust 2024

new 0.6.1 May 18, 2025
0.5.1 Mar 19, 2025
0.4.8 Dec 6, 2024
0.4.7 Nov 3, 2024
0.4.4 Jun 10, 2024

#1720 in GUI

Download history 190/week @ 2025-01-29 254/week @ 2025-02-05 162/week @ 2025-02-12 151/week @ 2025-02-19 152/week @ 2025-02-26 30/week @ 2025-03-05 49/week @ 2025-03-12 314/week @ 2025-03-19 40/week @ 2025-03-26 130/week @ 2025-04-02 68/week @ 2025-04-09 141/week @ 2025-04-16 154/week @ 2025-04-23 69/week @ 2025-04-30 335/week @ 2025-05-07 305/week @ 2025-05-14

893 downloads per month
Used in 64 crates (12 directly)

Apache-2.0 OR MIT

47KB
1K SLoC

Macros for generating unique ID types.

Crate


This crate is part of the zng project.

Cargo Features

This crate provides 2 feature flags, 1 enabled by default.

"named"

Enable associated names for ID types.

Enabled by default.

"hot_reload"

Enable static patching for ID types.

The hot_reload feature on the main crate uses this to ensure IDs generated by dynamically loaded libraries are unique across the running process.

Dependencies

~2.2–7.5MB
~48K SLoC