macron-map 0.1.1

The key-value collection parser
Documentation
  • Coverage
  • 100%
    2 out of 2 items documented1 out of 2 items with examples
  • Size
  • Source code size: 6.4 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 279.94 kB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 7s Average build duration of successful builds.
  • all releases: 6s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • Repository
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • fuderis

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.