This crate offers declarative macros for initializing collections from the standard library and hashbrown.
This crate has zero dependencies and is #![no_std]
if you opt-out of
support for the standard library collections.
use map_macro::hash_map;
let hello = hash_map! {
"en" => "Hello",
"de" => "Hallo",
"fr" => "Bonjour",
"es" => "Hola",
"cat" => "Hola",
"🌍" => "👋",
};