// build.rs

fn main() {
    /*
    {
        println!("cargo:rerun-if-changed=Cargo.toml");
        patch_crate_aki::run().expect("Failed while patching");
    }
    */
    #[cfg(feature = "debian_build")]
    {
        use rust_version_info_file::rust_version_info_file;
        let path = {
            #[cfg(feature = "debian_build")]
            let dir = "target".to_string();
            #[cfg(not(feature = "debian_build"))]
            let dir = std::env::var("OUT_DIR").unwrap();
            //
            format!("{dir}/rust-version-info.txt")
        };
        rust_version_info_file(path.as_str(), "Cargo.toml");
    }
}
