renso-code-graph 1.2.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", "81ded91ccfd9628ef76568d014f3867ccdcffad90e4baf1b12dc487a2fef1190"),
    ("aarch64-unknown-linux-gnu", "d24aacd8fa6fd057d2d7511f39ef6cab771c12757e704347501ebd09d4865b78"),
    ("x86_64-apple-darwin", "b6c5b6ecf29ffc874c14ea340d16ef133b6bebd6ae0a32f3b4368475fd3fda56"),
    ("x86_64-pc-windows-msvc", "2b079da5d1941e757a410ea3db3e48fbc4b53bcccbbb8e1a3a10550a172f732f"),
    ("x86_64-unknown-linux-gnu", "55cc5b8a5ddd41f405e1fd3f69ec5c54266324537240c9ea86c5cb431306bef3"),
];

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