renso-code-graph 1.0.6

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", "0be2aa8da8b9bb9b0979ff9e07d04f222e844ff05e51cbd21951cbac4ef5ec92"),
    ("aarch64-unknown-linux-gnu", "c5af0487e271922a1ff1184059c0c30493f2b520bf1aa6647d318a5ed7080e4d"),
    ("x86_64-apple-darwin", "b8e8d816870089c0c8c35a4fefe4218c91cb20e4f0917f4ffdbc0f2f1463a6b0"),
    ("x86_64-pc-windows-msvc", "8085eee9cfa0937880c2a2fa9b91ab5d3a395c95caee353605f9bd292004a2b2"),
    ("x86_64-unknown-linux-gnu", "2640163070bc5fa5f248f0d597c03413cb70a1d8827bf3299c8c1f1f51a407ac"),
];

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