2 releases
| 0.1.1 | May 25, 2025 |
|---|---|
| 0.1.0 | Apr 6, 2025 |
#40 in #declarative-macro
66 downloads per month
Used in 5 crates
(2 directly)
5KB
Map Collection Parser
Introduction:
The key-value collection parser.
P.s.: More useful macros you can find here.
Examples:
let (k, v) = ("one", 1);
let map = map! {
k => v,
"two": 2,
"three" => 3,
"four": 4,
};
assert_eq!(map, [("one", 1), ("two", 2), ("three", 3), ("four", 4)])
Licensing:
Distributed under the MIT license.
Feedback:
You can contact me via GitHub or send a message to my Telegram @fuderis.
This library is constantly evolving, and I welcome your suggestions and feedback.
Dependencies
~155–560KB
~13K SLoC