renso-code-graph 1.3.0

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", "a1477358c62576b2fef131136743c0fa8f76b6b27b7eb792c2ce42e13b20959d"),
    ("aarch64-unknown-linux-gnu", "fb17f62634d84e8bb7bc58a30c0711aa61b75970b634ef370dbbe73c1b128c95"),
    ("x86_64-apple-darwin", "821e86257310707887a7dcc2d473fde3a925f9f5b223498eda760d127ca45cec"),
    ("x86_64-pc-windows-msvc", "57fea9f0a9201231a13484b81b60c210fb71a70857c423b7cd963c39dc577ffb"),
    ("x86_64-unknown-linux-gnu", "5843da175d4f31dc289543acb4d4fb42d507a4d6ba8f89057b6f5c253a5ad49c"),
];

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