renso-code-graph 1.1.5

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", "bc38377ab6190742c28a9cecc794a0701a43da99813a8ac595905c79ce1d24a9"),
    ("aarch64-unknown-linux-gnu", "f645336dddbbdb778674bb4dcd2a47c7f98391c3ce1a8bd198404b170671ac8f"),
    ("x86_64-apple-darwin", "0ce9d143abbe4894e70a40b5edb9c397415b2dc20ece4c0d5cef50870e5a9a42"),
    ("x86_64-pc-windows-msvc", "18e2deea3fb2c54e90a99ba52f60150f1232b519ef0a37acc903f33ef0ca5062"),
    ("x86_64-unknown-linux-gnu", "115c7630a3dd4aec6e0643e87b787b8f59d705448edbdfc3b97d6529a5b84323"),
];

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