dynast 0.12.0

Feynman graph topology identification
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
use vergen_gitcl::{Emitter, GitclBuilder};

fn main() {
    let gitcl = GitclBuilder::default()
        .branch(true)
        .sha(true)
        .build()
        .unwrap();
    // If this is not run inside a git repository we get an error.
    // This happens when installing the crate via cargo.
    // As a quick fix, we just ignore it.
    let _ = Emitter::default().add_instructions(&gitcl).unwrap().emit();
}