renso-code-graph 1.0.12

Dependency graph analyzer for code, tests, docs, and policy surfaces. Installs the prebuilt `code_graph` binary from GitHub Releases.
//! Release manifest for the `code_graph` stub crate.
//!
//! Constants are templated by `.github/workflows/release.yml` between
//! `make-manifest` and `publish-cargo`. Local development builds keep
//! the empty placeholder values, which cause `build.rs` to produce a
//! non-runnable stub binary (see `build.rs` placeholder detection and
//! `main.rs` placeholder check).

/// Base URL for the GitHub Release that hosts the per-platform
/// binary archives.
pub const RELEASE_URL_BASE: &str = "https://github.com/Renso-AI/code-graph-dist/releases/download";

/// File-name stem of the prebuilt archive. The full URL is
/// `<RELEASE_URL_BASE>/v<version>/<ARCHIVE_PREFIX>-<target>.<ext>`.
pub const ARCHIVE_PREFIX: &str = "code_graph";

/// The binary inside the archive (`code_graph` or `code_graph-mcp`).
/// This is what gets extracted and embedded into the trampoline.
pub const BINARY_NAME: &str = "code_graph";

/// SHA256 hex of each per-target archive, keyed by Rust target triple.
/// Templated at release time. An empty slice triggers placeholder mode
/// (workspace dev builds, `cargo build --workspace` without network).
pub const SHA256_BY_TARGET: &[(&str, &str)] = &[
    ("aarch64-apple-darwin", "578ca89ba23c730dc40452d155a2420abc0374577c9fb93b316ecb14dba3ece8"),
    ("aarch64-unknown-linux-gnu", "2d3f16267f6920205c4b2c0b221580c16db821d61783f79dff7d223c09e18769"),
    ("x86_64-apple-darwin", "ba41594b7f92c258663faf7fbe6755783c478a03c3fc7d289ce1d6ba13170c5c"),
    ("x86_64-pc-windows-msvc", "8c554b9e53bf78c8e7dfb41c7687a0864f90f62a709ca3ee49888414f5510046"),
    ("x86_64-unknown-linux-gnu", "fd37c549ad7c3e3cea768dbf5095c2346574f9ac8fcca9d9855977a21789fa80"),
];

/// Optional minisign public key (base64) that signs each release
/// archive. Empty string disables signature verification. Templated
/// alongside `SHA256_BY_TARGET` at release time.
pub const MINISIGN_PUBKEY: &str = "";