mesh-llm-runtime-install 0.76.1

Native runtime manifest discovery, download, installation, and cache management for Mesh LLM
docs.rs failed to build mesh-llm-runtime-install-0.76.1
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.

mesh-llm-runtime-install

mesh-llm-runtime-install owns the public native runtime installation flow for Mesh LLM SDK consumers and command-line tools.

It provides:

  • release manifest loading from a file, URL, bundled runtime directory, or the default Mesh LLM GitHub release URL
  • compatible runtime resolution for the current Mesh LLM version
  • cache path selection and installed runtime discovery
  • checksum enforcement before installing downloaded archives
  • download progress callbacks for SDK and CLI callers
  • stale runtime pruning through NativeRuntimeCache

Native runtime versions must match the Mesh LLM crate version exactly. The installer rejects incompatible release manifest entries instead of building native code through Cargo.

Example

use mesh_llm_runtime_install::{
    NativeRuntimeInstallOptions, RuntimeSelection, install_native_runtime,
};

#[tokio::main]
async fn main() -> anyhow::Result<()> {
    let outcome = install_native_runtime(NativeRuntimeInstallOptions {
        selection: RuntimeSelection::Recommended,
        ..Default::default()
    })
    .await?;

    println!("installed runtime at {}", outcome.runtime.path.display());
    Ok(())
}