1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
//! # 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
//!
//! ```rust
//! 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",
//! ];
//! ```
//!
//! ## Available Macros
//!
//! - [`s!`] - Create `String` instances with various input types
//! - [`set!`] - Create `HashSet` instances with initial values
//! - [`map!`] - Create `HashMap` instances with key-value pairs
//!
// Re-export all macros