lan-mouse 0.10.0

Software KVM Switch / mouse & keyboard sharing software for Local Area Networks
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
use std::process::Command;

fn main() {
    // commit hash
    let git_describe = Command::new("git")
        .arg("describe")
        .arg("--always")
        .arg("--dirty")
        .arg("--tags")
        .output()
        .unwrap();

    let git_describe = String::from_utf8(git_describe.stdout).unwrap();
    println!("cargo::rustc-env=GIT_DESCRIBE={git_describe}");
}