zinit 0.3.8

Process supervisor with dependency management
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/// Build script that ensures version consistency across binaries
/// This script reads the package version from Cargo.toml and makes it
/// available to code via CARGO_PKG_VERSION environment variable.

fn main() {
    // The version is automatically set by Cargo from Cargo.toml
    // and available as CARGO_PKG_VERSION environment variable

    // This ensures all binaries (zinit, zinit-server, zinit-pid1)
    // will report the same version as the package

    // Print cargo instructions to ensure rebuild on version change
    println!("cargo:rerun-if-changed=Cargo.toml");
}