mr_utils_macro

Crates.iomr_utils_macro
lib.rsmr_utils_macro
version0.1.9
created_at2025-02-18 08:13:13.746626+00
updated_at2025-02-20 07:53:20.599654+00
descriptionutils attribute for Rust
homepage
repositoryhttps://github.com/supaatwi/mr_utils_macro.git
max_upload_size
id1559685
size17,879
(supaatwi)

documentation

https://github.com/supaatwi/mr_utils_macro.git/blob/main/README.md

README

MR Utils Macro

A collection of practical derive macros for Rust to enhance struct functionality and reduce boilerplate code.

Features

ToVec Derive Macro

Automatically implements a to_vec method for structs that converts selected or all fields into a vector of strings. Useful for data conversion, serialization, and integration with other systems.

Installation

Add this to your Cargo.toml:

[dependencies]
mr_utils_macro = "0.1.0"

Feature Roadmap

  • ToVec derive macro
  • FromRow derive macro (planned)
  • ToMap derive macro (planned)
  • Custom field attributes support (planned)

License

MIT

Contributing

Feel free to:

  • Submit bug reports and feature requests
  • Submit pull requests
  • Propose new utility macros
Commit count: 0

cargo fmt