llama-crab-sys 0.1.300

Low-level FFI bindings to llama.cpp, ggml, gguf and mtmd (autogenerated via bindgen + cmake)
Documentation
//! Low-level FFI bindings to `llama.cpp`.
//!
//! Generated at build time via [`bindgen`](https://docs.rs/bindgen) over `wrapper.h`, which in turn
//! includes the public C headers of `llama.cpp`, `ggml` and `gguf`.
//!
//! This crate is **unsafe by design**: every public item is a thin
//! `extern "C"` wrapper around a llama.cpp symbol. Use the safe
//! [`llama-crab`](https://docs.rs/llama-crab) crate instead unless
//! you need fine-grained control.
//!
//! ## Features
//!
//! | Feature | Description |
//! |---|---|
//! | `common` | Compile `libcommon.a` for chat templates and JSON schema helpers |
//! | `cuda` | NVIDIA CUDA backend |
//! | `cuda-no-vmm` | CUDA without Virtual Memory Management |
//! | `metal` | Apple Metal (default on macOS aarch64) |
//! | `vulkan` | Vulkan backend |
//! | `rocm` | AMD ROCm/HIP backend |
//! | `openmp` | OpenMP parallel CPU backend (default) |
//! | `dynamic-link` | Link against `libllama` as a shared object |
//! | `system-ggml` | Use GGML from the system instead of the bundled copy |
//! | `mtmd` | Multimodal (vision + audio) helpers |
//! | `llguidance` | `llguidance` sampler (custom C-ABI vtable) |
//! | `dynamic-backends` | Load GGML backends as shared objects at runtime |

#![doc(
    html_logo_url = "https://gist.githubusercontent.com/DominguesM/127b9e5614e0e2da6b896fb3da3c8f2d/raw/a42e6daa629eb6f0254de026c47da9aff3c1f0e2/canarim-crab.webp"
)]
#![allow(unknown_lints)]
#![allow(non_camel_case_types)]
#![allow(non_snake_case)]
#![allow(non_upper_case_globals)]
#![allow(missing_docs)]
#![allow(rustdoc::bare_urls)]
#![allow(rustdoc::broken_intra_doc_links)]
#![allow(clippy::all)]
#![allow(unpredictable_function_pointer_comparisons)]

include!(concat!(env!("OUT_DIR"), "/bindings.rs"));