| Crates.io | macron-map |
| lib.rs | macron-map |
| version | 0.1.1 |
| created_at | 2025-04-06 15:00:43.293711+00 |
| updated_at | 2025-05-25 04:18:17.75779+00 |
| description | The key-value collection parser |
| homepage | |
| repository | https://github.com/fuderis/rs-macron/tree/main/macron-input |
| max_upload_size | |
| id | 1622979 |
| size | 6,897 |
The key-value collection parser.
P.s.: More useful macros you can find here.
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)])
Distributed under the MIT license.
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.