renso-code-graph 1.1.1

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", "c40ed6a1c7f125f55c71b3f6688bd2056ff7a44b089b777cf02af7e67e5c148f"),
    ("aarch64-unknown-linux-gnu", "c2ba5f26309248d4255743d2fc9f21f9b6c2a6ee9d0380e88f71ea848e4ac7be"),
    ("x86_64-apple-darwin", "c56306b52999af1534f3813640e346b3b904a53081556e226b1eeebee3945d1c"),
    ("x86_64-pc-windows-msvc", "7226e64c62b0ba9a834cb7e18d7fb95e6e7efff90638f194ab3f2501dd579cb2"),
    ("x86_64-unknown-linux-gnu", "ee12c92a4504ebfe4d57b52f885014e11d10f0f8bc6914f25b66dce66e211f95"),
];

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