renso-code-graph 1.4.0

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", "2d195e7af6f1174e6c3df28a1f274b364a8b6a0f60a478ee6470c40058e00f2f"),
    ("aarch64-unknown-linux-gnu", "d8aa893a40470ef76ace78d8ea282d13d3e20f5d8ef9df4baf93f6c7a3d477c2"),
    ("x86_64-apple-darwin", "7b53290cbf41690478f5ec4b8f493bb415cac97b21dd7eb6acc9537084d98433"),
    ("x86_64-pc-windows-msvc", "dd0ce8b35d3769170b7119f004126a943bdea8d7ff339690a88bd13c71e0c0f5"),
    ("x86_64-unknown-linux-gnu", "bc8cd5363722e1b32727363e1697357ca074730954cdf39a1af54c2dda7339d3"),
];

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