verdant 0.1.0

A WIP windowing and rendering library.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use cfg_aliases::cfg_aliases;

// generate config aliases, similar to the ones winit has to avoid long-winded cfg directives
fn main() {
    println!("cargo:rerun-if-changed=build.rs");

    cfg_aliases! {
        android: { target_os = "android" },
        macos: { target_os = "macos" },
        ios: { all(target_vendor = "apple", not(target_os = "macos")) },
        windows: { target_os = "windows" },
        linux: { target_os = "linux" },
    }
}