vek 0.17.1

Generic 2D-3D math swiss army knife for game engines, with SIMD support and focus on convenience.
Documentation
extern crate rustc_version;
use rustc_version::{version, version_meta, Channel};

fn main() {
    assert!(version().unwrap().major >= 1);

    println!("cargo:rustc-check-cfg=cfg(stable)");
    println!("cargo:rustc-check-cfg=cfg(beta)");
    println!("cargo:rustc-check-cfg=cfg(nightly)");
    println!("cargo:rustc-check-cfg=cfg(dev)");
    match version_meta().unwrap().channel {
        Channel::Stable => {
            println!("cargo:rustc-cfg=stable");
        }
        Channel::Beta => {
            println!("cargo:rustc-cfg=beta");
        }
        Channel::Nightly => {
            println!("cargo:rustc-cfg=nightly");
        }
        Channel::Dev => {
            println!("cargo:rustc-cfg=dev");
        }
    }
}