llama-cpp-bindings-sys 0.35.0

Low level bindings to llama.cpp
Documentation
# 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 = "2024"
name = "llama-cpp-bindings-sys"
version = "0.35.0"
build = "build.rs"
include = [
    "wrapper*.h",
    "wrapper_*.cpp",
    "build.rs",
    "/src",
    "/GSL/include/**/*",
    "/GSL/LICENSE",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Low level bindings to llama.cpp"
readme = "README.md"
license = "Apache-2.0"
repository = "https://github.com/intentee/llama-cpp-bindings"
resolver = "2"

[features]
cuda = ["llama-cpp-native/cuda"]
cuda-no-vmm = [
    "cuda",
    "llama-cpp-native/cuda-no-vmm",
]
dynamic-backends = [
    "dynamic-link",
    "llama-cpp-native/dynamic-backends",
]
dynamic-link = ["llama-cpp-native/dynamic-link"]
fault-injection = []
metal = ["llama-cpp-native/metal"]
openmp = ["llama-cpp-native/openmp"]
rocm = ["llama-cpp-native/rocm"]
shared-stdcxx = ["llama-cpp-native/shared-stdcxx"]
static-stdcxx = ["llama-cpp-native/static-stdcxx"]
system-ggml = ["llama-cpp-native/system-ggml"]
system-ggml-static = [
    "system-ggml",
    "llama-cpp-native/system-ggml-static",
]
vulkan = ["llama-cpp-native/vulkan"]

[lib]
name = "llama_cpp_bindings_sys"
path = "src/lib.rs"
doctest = false

[dependencies.llama-cpp-native]
version = "0.35"

[build-dependencies.llama-cpp-bindings-build]
version = "0.35"

[lints.clippy]
arithmetic_side_effects = "deny"
expect_used = "deny"
indexing_slicing = "deny"
panic = "deny"
panic_in_result_fn = "deny"
string_slice = "deny"
todo = "deny"
unimplemented = "deny"
unreachable = "deny"
unwrap_used = "deny"

[lints.clippy.all]
level = "deny"
priority = -1

[lints.clippy.nursery]
level = "deny"
priority = -1

[lints.clippy.pedantic]
level = "deny"
priority = -1

[lints.rust]
unsafe_op_in_unsafe_fn = "warn"
unused_qualifications = "warn"
warnings = "deny"