renso-code-graph 1.1.8

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", "cce2f5e2f283c917bb9e66e669ce82b780f4ecc7531d796fb71d4271761cde58"),
    ("aarch64-unknown-linux-gnu", "fcd8deb26c57adbabfdcd06d765ebcd2c6dc0119004f15f9c6af655a5a66d82b"),
    ("x86_64-apple-darwin", "87b3e703cdba4242140f088c0b4f43d2dee8a3b6392702dc9c49d3fefb9b32ff"),
    ("x86_64-pc-windows-msvc", "43dd89905c7c9ddde0706c6001deda006dde9d55990f3af556b15226b240b337"),
    ("x86_64-unknown-linux-gnu", "c543043615f6c75c0371d4114111ab0021f44e6d326eec8549574397cab687b6"),
];

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