macron 0.1.15

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
#![doc = include_str!(concat!(env!("CARGO_MANIFEST_DIR"), "/README.md"))]
pub mod prelude;

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

#[cfg(any(feature = "path", feature = "full"))]
pub use macron_path::path;

#[cfg(any(feature = "string", feature = "full"))]
pub use macron_regex::re;
#[cfg(any(feature = "string", feature = "full"))]
pub use macron_str::str;

#[cfg(any(feature = "input", feature = "full"))]
pub use macron_input::input;
#[cfg(any(feature = "input", feature = "full"))]
pub use macron_inputln::inputln;

#[cfg(any(feature = "collections", feature = "full"))]
pub use macron_collections::{
    binary_heap, btree_map, btree_set, hash_map, hash_set, linked_list, parse_map, vec_deque,
};

#[cfg(any(feature = "derive", feature = "full"))]
pub use macron_impl_display::Display;
#[cfg(any(feature = "derive", feature = "full"))]
pub use macron_impl_error::Error;
#[cfg(any(feature = "derive", feature = "full"))]
pub use macron_impl_from::From;
#[cfg(any(feature = "derive", feature = "full"))]
pub use macron_impl_into::Into;