macron-map

Crates.iomacron-map
lib.rsmacron-map
version0.1.1
created_at2025-04-06 15:00:43.293711+00
updated_at2025-05-25 04:18:17.75779+00
descriptionThe key-value collection parser
homepage
repositoryhttps://github.com/fuderis/rs-macron/tree/main/macron-input
max_upload_size
id1622979
size6,897
Bulat Sh. (fuderis)

documentation

README

githubcrates-iodocs-rs

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.

Commit count: 15

cargo fmt