renso-code-graph 1.0.23

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", "54aba93a0f7eab744f7f146229ca2f86d13c2ffcabbffc750a535621edeb4d03"),
    ("aarch64-unknown-linux-gnu", "11d9d0ce348e009c00dc86e7920a95c4dcf34a14c66166c151d059393d780692"),
    ("x86_64-apple-darwin", "b334d4169c9b4b44c5cd11e0fc1bb06dbd4ccd5eb123d9442da473b9dd26a845"),
    ("x86_64-pc-windows-msvc", "f70a871202deb79fd818deda8dc0e5d00a0e2de4b11ff662d31200c684871d6d"),
    ("x86_64-unknown-linux-gnu", "0cc60351cad071aa7b59d9653acea126ba20c6e12a077be1378f28fe69ef3e35"),
];

/// 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 = "";