renso-code-graph 1.6.2

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", "f6d57ecff504914bb75741322444cb48ed0c697f6d012de44d51f23e232eee90"),
    ("aarch64-unknown-linux-gnu", "20ca8b26132d65e6e695c5bbf831c513af2c3fcc305d85e5ccd80c759811e7b7"),
    ("x86_64-apple-darwin", "955ac75dd121a6d7dfaea675dc2bc2818edaafa2c9516a6e5bbe6fcc5674d714"),
    ("x86_64-pc-windows-msvc", "d12874a6d7ab600dc2cd8a915cfb4566522a931696d4686423a84fb4558a0f64"),
    ("x86_64-unknown-linux-gnu", "073664b538ad97f43235274b7da49ffcada9f715e357c950033beca9e1e08543"),
];

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