from_map 0.1.0

A crate that exposes the `FromMap` trait
Documentation
  • Coverage
  • 16.67%
    1 out of 6 items documented0 out of 4 items with examples
  • Size
  • Source code size: 3.78 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 1.1 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 12s Average build duration of successful builds.
  • all releases: 12s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • Luro02/shorthand
    6 0 15
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • Luro02

This crate is based on https://cprimozic.net/blog/writing-a-hashmap-to-struct-procedural-macro-in-rust/

There was sadly no crate available, so I had to make my own :(

I made some improvements to the code and ported it to a newer version of syn. For example the [FromMap] trait doesn't need a type parameter and the [HashMap] should contain a static str (field names should be known at compile time).