[package]
edition = "2021"
name = "ik-llama-cpp-2"
version = "0.1.2"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "ik_llama.cpp bindings for Rust (SOTA quants + MTP)"
readme = "README.md"
keywords = [
"llama",
"llm",
"ai",
"ffi",
"quantization",
]
categories = [
"external-ffi-bindings",
"science",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/replikeit/ik-llama-cpp-rs"
[package.metadata.docs.rs]
features = ["common"]
no-default-features = false
[features]
_smoke = []
common = ["ik-llama-cpp-sys/common"]
cuda = ["ik-llama-cpp-sys/cuda"]
cuda-no-vmm = [
"cuda",
"ik-llama-cpp-sys/cuda-no-vmm",
]
default = []
dynamic-link = ["ik-llama-cpp-sys/dynamic-link"]
mtmd = ["ik-llama-cpp-sys/mtmd"]
native = ["ik-llama-cpp-sys/native"]
openmp = ["ik-llama-cpp-sys/openmp"]
shared-stdcxx = ["ik-llama-cpp-sys/shared-stdcxx"]
static-openmp = ["ik-llama-cpp-sys/static-openmp"]
static-stdcxx = ["ik-llama-cpp-sys/static-stdcxx"]
vulkan = ["ik-llama-cpp-sys/vulkan"]
[lib]
name = "ik_llama_cpp_2"
path = "src/lib.rs"
[[test]]
name = "batch_b_smoke"
path = "tests/batch_b_smoke.rs"
[[test]]
name = "dropin_surface"
path = "tests/dropin_surface.rs"
[[test]]
name = "general_smoke"
path = "tests/general_smoke.rs"
[[test]]
name = "grammar_smoke"
path = "tests/grammar_smoke.rs"
[[test]]
name = "lifecycle"
path = "tests/lifecycle.rs"
[[test]]
name = "negative"
path = "tests/negative.rs"
[[test]]
name = "tokenizer"
path = "tests/tokenizer.rs"
[dependencies.encoding_rs]
version = "0.8"
[dependencies.ik-llama-cpp-sys]
version = "0.1.2"
[dependencies.thiserror]
version = "2"
[dependencies.tracing]
version = "0.1"
[dev-dependencies.encoding_rs]
version = "0.8"
[dev-dependencies.tracing-subscriber]
version = "0.3"
features = [
"json",
"env-filter",
]
[lints.clippy.pedantic]
level = "warn"
priority = 0
[lints.rust.missing_debug_implementations]
level = "warn"
priority = 0
[lints.rust.missing_docs]
level = "warn"
priority = 0