aerosol 1.3.1

Simple dependency injection for Rust
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/// Define a custom `Aero` alias with a specific set of required types
///
/// Example usage:
/// ```rust
/// use aerosol::Aero;
///
/// type AppState = Aero![&'static str, i32, bool];
/// ```
#[macro_export]
macro_rules! Aero {
    ($($tok:tt)*) => {
        $crate::Aero<$crate::frunk::HList![$($tok)*]>
    };
}