Skip to main content

load_blocklist

Function load_blocklist 

Source
pub fn load_blocklist(path: &Path) -> HashSet<String>
Expand description

Loads blocklisted component IDs from a TOML file.

Returns an empty set if the file doesn’t exist. The file format is:

[blocklist]
components = ["0x86d257cdb7bc9c0df10e84c8709697f92770b335"]