renso-code-graph 1.4.4

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", "5c98bd5b478114e48e581c33f2a5680792639bc602f6b9feb6745f48bd8d5815"),
    ("aarch64-unknown-linux-gnu", "f4b8a65419daef6bc188d7f3f52e2f7592a17c61c4ecc6f4db447c2133d826dd"),
    ("x86_64-apple-darwin", "5c0b79e91f529b4589f25ae744a262e1bb16480e07111d3164c165f9a641796a"),
    ("x86_64-pc-windows-msvc", "42557e8e94d90c2f57116d9d2e7ffb3b60c32f7bb5ff9039d5193836edb996f7"),
    ("x86_64-unknown-linux-gnu", "4d4bef43af2c63979242c3153637c343117d1abb20a1afe6c86dd12e6df12d94"),
];

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