llama-cpp-4 0.2.5

llama.cpp bindings for Rust
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2021"
name = "llama-cpp-4"
version = "0.2.5"
authors = ["Eugene Hauptmann"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "llama.cpp bindings for Rust"
readme = "README.md"
license = "MIT OR Apache-2.0"
repository = "https://github.com/eugenehp/llama-cpp-rs"

[package.metadata.docs.rs]
features = ["sampler"]

[features]
cuda = ["llama-cpp-sys-4/cuda"]
default = ["openmp"]
dynamic-link = ["llama-cpp-sys-4/dynamic-link"]
metal = ["llama-cpp-sys-4/metal"]
mtmd = ["llama-cpp-sys-4/mtmd"]
native = ["llama-cpp-sys-4/native"]
openmp = ["llama-cpp-sys-4/openmp"]
rpc = ["llama-cpp-sys-4/rpc"]
vulkan = ["llama-cpp-sys-4/vulkan"]

[lib]
name = "llama_cpp_4"
path = "src/lib.rs"

[dependencies.enumflags2]
version = "0.7.12"

[dependencies.llama-cpp-sys-4]
version = "0.2.5"

[dependencies.thiserror]
version = "2.0.18"

[dependencies.tracing]
version = "0.1"

[dev-dependencies.encoding_rs]
version = "0.8.35"

[target.'cfg(all(target_os = "macos", target_arch = "aarch64"))'.dependencies.llama-cpp-sys-4]
version = "0.2.5"
features = ["metal"]

[lints.clippy.pedantic]
level = "warn"
priority = 0

[lints.rust.missing_debug_implementations]
level = "warn"
priority = 0

[lints.rust.missing_docs]
level = "warn"
priority = 0