amethyst 0.10.0

Data-oriented game engine written in Rust
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use vergen::{ConstantsFlags, Vergen};

fn main() {
    let vergen = Vergen::new(ConstantsFlags::all()).unwrap_or_else(|e| {
        panic!(
            "Vergen crate failed to generate version information! {:?}",
            e
        );
    });

    for (k, v) in vergen.build_info() {
        println!("cargo:rustc-env={}={}", k.name(), v);
    }
}