Cargo Features
[dependencies]
zng-unique-id = { version = "0.4.6", default-features = false, features = ["named", "hot_reload"] }
- default = named
-
The
named
feature is set by default wheneverzng-unique-id
is added without
somewhere in the dependency tree.default-features = false - named default
-
Enable associated names for ID types.
Enables parking_lot and zng-txt
- 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.Enables linkme =0.3.28
hot_static_patchable!
uses pre-expanded code generated by linkme macro that must match link_section name.Affects
hot_reload::lazy_static_ref
…