x11oo 0.2.0

Object-oriented API to X11
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
extern crate pkg_config;

use std::env;

const FEATURES: [&str; 1] = ["xfixes"];

fn main() {
    for feature in FEATURES {
        let var = format!("CARGO_FEATURE_{}", feature.to_uppercase().replace('-', "_"));

        if env::var_os(var).is_none() {
            continue;
        }

        pkg_config::Config::new().probe(feature).unwrap();
    }
}