claude-pool-server 0.3.0

MCP server binary for claude-pool
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
//! Build script to capture git commit hash.

fn main() {
    let output = std::process::Command::new("git")
        .args(["rev-parse", "--short", "HEAD"])
        .output();

    let hash = output
        .map(|o| String::from_utf8_lossy(&o.stdout).trim().to_string())
        .unwrap_or_default();

    println!("cargo:rustc-env=GIT_HASH={hash}");
}