macron 0.1.16

Comprehensive Rust macros toolkit for everyday development tasks. Includes convenient string formatting (str!), regex pattern matching (re!), streamlined collection creation, and custom derive macros for Display, Error, From, and Into traits. Boost your productivity with intuitive syntax and simplify your codebase while maintaining performance and safety. Perfect for both small projects and large-scale applications.
Documentation
1
2
3
4
5
6
7
8
9
10
11
pub use crate::*;

#[cfg(any(feature = "collections", feature = "full"))]
pub use crate::{hash_map as map, hash_set as set};

/// The dynamic error type
pub type DynError = Box<dyn std::error::Error + Send + Sync + 'static>;
/// The short result alias
pub type Result<T> = std::result::Result<T, DynError>;
/// The std result alias
pub use std::result::Result as StdResult;