[package]
edition = "2024"
rust-version = "1.88"
name = "offgrid-sys"
version = "0.2.1"
build = "build.rs"
links = "llama"
include = [
"/Cargo.toml",
"/README.md",
"/build.rs",
"/src/**",
"/tests/**",
"/windows/**",
"/llama.cpp/LICENSE",
"/llama.cpp/licenses/**",
"/llama.cpp/CMakeLists.txt",
"/llama.cpp/cmake/**",
"/llama.cpp/include/**",
"/llama.cpp/src/**",
"/llama.cpp/ggml/CMakeLists.txt",
"/llama.cpp/ggml/cmake/**",
"/llama.cpp/ggml/include/**",
"/llama.cpp/ggml/src/*.*",
"/llama.cpp/ggml/src/CMakeLists.txt",
"/llama.cpp/ggml/src/ggml-cpu/**",
"/llama.cpp/ggml/src/ggml-vulkan/**",
"/llama.cpp/ggml/src/ggml-cuda/**",
"/llama.cpp/tools/mtmd/**",
"/llama.cpp/vendor/CMakeLists.txt",
"/llama.cpp/vendor/hash/**",
"/llama.cpp/vendor/miniaudio/**",
"/llama.cpp/vendor/nlohmann/**",
"/llama.cpp/vendor/sheredom/**",
"/llama.cpp/vendor/stb/**",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Low-level FFI bindings to llama.cpp (Vulkan/CPU), built from source."
readme = "README.md"
keywords = [
"llama",
"llm",
"gguf",
"ffi",
"vulkan",
]
categories = ["external-ffi-bindings"]
license = "MIT"
repository = "https://github.com/Pinta365/offgrid"
[features]
bindgen = ["dep:bindgen"]
cuda = []
default = ["vulkan"]
dynamic-backends = []
vulkan = []
[lib]
name = "offgrid_sys"
path = "src/lib.rs"
[[test]]
name = "smoke"
path = "tests/smoke.rs"
[build-dependencies.bindgen]
version = "0.73"
features = ["prettyplease"]
optional = true
[build-dependencies.cmake]
version = "0.1.58"