Skip to main content

scope_id

Function scope_id 

Source
pub fn scope_id(content: &str) -> String
Expand description

Generate a deterministic 8-hex-char scope ID from content (typically CSS).

Uses DefaultHasher with fixed seed (SipHash keys 0,0) so the same content always produces the same ID, even across process restarts.