github-copilot-sdk 1.0.29-preview.5

Rust SDK for programmatic control of the GitHub Copilot CLI via JSON-RPC.
#[cfg(feature = "runtime")]
#[path = "build/in_process.rs"]
mod implementation;

#[cfg(not(feature = "runtime"))]
#[path = "build/openssl_linkage.rs"]
mod openssl_linkage;

#[cfg(feature = "runtime")]
#[allow(dead_code)]
#[path = "src/platform_dirs/mod.rs"]
mod platform_dirs;

fn main() {
    #[cfg(feature = "runtime")]
    implementation::main();
    #[cfg(not(feature = "runtime"))]
    {
        openssl_linkage::require_target_provider(false);
        println!("cargo::rustc-check-cfg=cfg(has_bundled_cli)");
        println!("cargo::rustc-check-cfg=cfg(has_extracted_cli)");
        println!("cargo::rustc-check-cfg=cfg(sdk_compiled_protocol)");
    }
}