scattered-collect 0.22.1

Link-time collections for Rust (distributed slices, registries)
Documentation
1
2
3
4
5
6
7
8
9
use scattered_collect::{gather, map::ScatteredMap, scatter};

#[gather]
static MAP: ScatteredMap<&'static str, u32>;

#[scatter(MAP)]
static BAD: (&'static str, u32) = stringify!(only_a_key);

fn main() {}