renso-code-graph 1.0.14

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", "2f07a6c2f09dddde7edfa1d328d30ffa7f0fe409374def0bc9bc3a503c865790"),
    ("aarch64-unknown-linux-gnu", "983075b633e41a88a133fabfad045eb5c6ce7a7eb9c0f72da2dbf2fe3549185d"),
    ("x86_64-apple-darwin", "4a8f2f8ae14e4ac60b3d81a2cb6be5aa257369a16f1e244908330b576ec6b481"),
    ("x86_64-pc-windows-msvc", "d0ed90c3eadf6c0392fa1d67e4d081df6967a7f55d434d3ac00ce8138a09d192"),
    ("x86_64-unknown-linux-gnu", "106c2ec32ef6f40274a239891ad594b669fd0b4ef8269a852aeb7c4ce7b58fcb"),
];

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