renso-code-graph 1.1.10

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", "a65673f1df5a2432dfb0c8aeb588777f2b331880d88c245acef9f39d755ed1a7"),
    ("aarch64-unknown-linux-gnu", "64ed56ae2ac2a7c2795f4f746ac22185864991668d2e6833fc206174ea13338b"),
    ("x86_64-apple-darwin", "0bc97c0f5b9330c445967e731ac7b3de555df56c0bae3d417c25d02e7fc74bc4"),
    ("x86_64-pc-windows-msvc", "deffaed73f6bf3048890d66cdd780f6ebf08486aec3cf5950cb127da44d1f6bd"),
    ("x86_64-unknown-linux-gnu", "6d987ea43b088faab6e161018962c584f5994e266b8617d15ee4f1416db49571"),
];

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