[package] name = "zng-unique-id" version = "0.4.7" authors = ["The Zng Project Developers"] edition = "2021" license = "Apache-2.0 OR MIT" readme = "README.md" description = "Part of the zng project." documentation = "https://zng-ui.github.io/doc/zng_unique_id" repository = "https://github.com/zng-ui/zng" categories = ["gui"] keywords = ["gui", "ui", "user-interface", "zng"] [features] default = ["named"] # Enable associated names for ID types. named = ["dep:zng-txt", "dep:parking_lot"] # 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. hot_reload = ["dep:linkme"] [dependencies] rayon = "1.10" hashbrown = { version = "0.15", features = ["rayon"] } tracing = "0.1" paste = "1.0" once_cell = "1.19" zng-txt = { path = "../zng-txt", version = "0.2.8", optional = true } parking_lot = { version = "0.12", optional = true } # `hot_static_patchable!` uses pre-expanded code generated by linkme macro that must match link_section name. linkme = { version = "=0.3.28", optional = true } [package.metadata.docs.rs] all-features = true