mockito 0.11.1

HTTP mocking for Rust.
Documentation
1
2
3
4
5
6
7
8
9
10
11
///
/// A simple internal logger enabled by setting the MOCKITO_DEBUG environment variable.
/// Works pretty much like the `println!` macro.
///
macro_rules! debug {
    ($($arg:tt)+) => ({
        if ::std::env::var("MOCKITO_DEBUG").is_ok() {
            println!("\n### {}", format_args!($($arg)+));
        }
    });
}