1
2
3
4
5
6
7
8
9
10
11
12
extern crate pkg_config;

fn main() {
    match pkg_config::find_library("exempi-2.0 >= 2.2.0") {
        Ok(_) =>
		(),
        Err(e) => {
            println!("Exempi not found");
            panic!(e);
        }
    }
}