[dependencies.enumflags2]
version = "0.7.11"
[dependencies.llama-cpp-sys-2]
version = "0.1.69"
[dependencies.thiserror]
version = "1"
[dependencies.tracing]
version = "0.1"
[dev-dependencies.encoding_rs]
version = "0.8.35"
[features]
android-shared-stdcxx = ["llama-cpp-sys-2/shared-stdcxx"]
cuda = ["llama-cpp-sys-2/cuda"]
default = ["openmp", "android-shared-stdcxx"]
dynamic-link = ["llama-cpp-sys-2/dynamic-link"]
metal = ["llama-cpp-sys-2/metal"]
native = ["llama-cpp-sys-2/native"]
openmp = ["llama-cpp-sys-2/openmp"]
sampler = []
vulkan = ["llama-cpp-sys-2/vulkan"]
[lib]
name = "llama_cpp_2"
path = "src/lib.rs"
[lints.clippy.pedantic]
level = "warn"
priority = 0
[lints.rust.missing_debug_implementations]
level = "warn"
priority = 0
[lints.rust.missing_docs]
level = "warn"
priority = 0
[package]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
description = "llama.cpp bindings for Rust"
edition = "2021"
license = "MIT OR Apache-2.0"
name = "llama-cpp-2"
readme = "README.md"
repository = "https://github.com/utilityai/llama-cpp-rs"
version = "0.1.91"
[package.metadata.docs.rs]
features = ["sampler"]
[target.'cfg(all(target_os = "macos", any(target_arch = "aarch64", target_arch = "arm64")))'.dependencies.llama-cpp-sys-2]
features = ["metal"]
version = "0.1.69"