quantlet 0.1.2

QuantLET is an open source, event-driven framework for rapid development and deployment of real-time analytical models intended to be executing in large scale.
Documentation
// re-export of error
pub use crate::error::Error;

// standard error type
pub type Result<T> = core::result::Result<T, Error>;

// generic wrapper tuple struct for newtype pattern
#[derive(Debug)]
pub struct W<T>(pub T);

// shortcuts
pub use std::format as f; // Commented out - unused

// utility macros
#[macro_export]
macro_rules! fatal {
    ($($arg:tt)*) => {{
        ::log::error!($($arg)*);
        panic!($($arg)*);
    }};
}

#[cfg(test)]
mod tests {

    #[test]
    #[should_panic(expected = "testing panic!")]
    fn test_fatal() {
        fatal!("testing panic!");
    }
}