renso-code-graph 1.0.20

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", "22595e2090a75437ec30d24ce4ab097b6656186292491abce25ebf82bf98b899"),
    ("aarch64-unknown-linux-gnu", "cc96ddfe7a2a178e2bdcad8ce59c1a0c3464df7ca12221d45fb03f03ab6a913a"),
    ("x86_64-apple-darwin", "24f26050e9d88280b923a9ba840af682c24a9400ebcca793965f73f8469d1ad8"),
    ("x86_64-pc-windows-msvc", "151a0b22278bdf65f66d170b5b9381596bb1c7995ab02a0ed3a02c65b8af219b"),
    ("x86_64-unknown-linux-gnu", "8cdfe06415e1d313b867a50a9b164700cdb35df495d6c70c044d6dca9abe92ea"),
];

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