This crate provides a map! macro that creates a map collection then inserts key-value pairs. The macro uses std::collections::HashMap.
map!