test-case 0.3.2

Provides #[test_case(...)] procedural macro attribute for generating parametrized test cases easily
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
use std::process::exit;

fn main() {
    match version_check::is_min_version("1.29") {
        Some(true) => {}
        _ => {
            // rustc version too small or can't figure it out
            eprintln!("rustc>=1.29 is required due to feature(proc_macro) stabilitation");
            exit(1);
        }
    }
}