12 releases

new 0.4.3 Jun 4, 2024
0.4.2 May 31, 2024
0.3.1 May 12, 2024
0.3.0 Apr 26, 2024
0.2.5 Apr 20, 2024

#10 in #zng

Download history 168/week @ 2024-04-02 706/week @ 2024-04-09 277/week @ 2024-04-16 238/week @ 2024-04-23 138/week @ 2024-04-30 196/week @ 2024-05-07 505/week @ 2024-05-14 392/week @ 2024-05-21 505/week @ 2024-05-28

1,598 downloads per month
Used in 59 crates (12 directly)

Apache-2.0 OR MIT

45KB
1K SLoC

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.


lib.rs:

Macros for generating unique ID types.

Crate

Dependencies

~3–8.5MB
~60K SLoC