Expand description
§smacro
A collection of convenient Rust macros designed to reduce boilerplate and improve code ergonomics for common operations.
This crate provides simple, intuitive macros for creating common data structures and performing frequent operations with minimal syntax.
§Quick Start
use smacro::{s, set, map};
// String creation
let greeting = s!("Hello, {}!", "world");
// HashSet creation
let numbers = set!(1, 2, 3, 4);
// HashMap creation
let config = map![
"debug" => "true",
"port" => "8080",
];