ik-llama-cpp-2 0.1.5

ik_llama.cpp bindings for Rust (SOTA quants + MTP)
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 = "2021"
name = "ik-llama-cpp-2"
version = "0.1.5"
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"]
metal = ["ik-llama-cpp-sys/metal"]
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 = "mtp_grammar_bench"
path = "tests/mtp_grammar_bench.rs"

[[test]]
name = "mtp_grammar_smoke"
path = "tests/mtp_grammar_smoke.rs"

[[test]]
name = "negative"
path = "tests/negative.rs"

[[test]]
name = "safety_smoke"
path = "tests/safety_smoke.rs"

[[test]]
name = "tokenizer"
path = "tests/tokenizer.rs"

[dependencies.encoding_rs]
version = "0.8"

[dependencies.ik-llama-cpp-sys]
version = "0.1.5"

[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