mullama 0.1.1

Comprehensive Rust bindings for llama.cpp with memory-safe API and advanced features
[[bin]]
name = "mullama"
path = "src/bin/mullama.rs"
required-features = ["daemon"]

[build-dependencies.bindgen]
version = "0.69"

[build-dependencies.cc]
version = "1.0"

[build-dependencies.cmake]
version = "0.1"

[build-dependencies.pkg-config]
version = "0.3"

[dependencies.async-stream]
optional = true
version = "0.3"

[dependencies.axum]
optional = true
version = "0.7"

[dependencies.base64]
optional = true
version = "0.22"

[dependencies.chrono]
features = ["serde"]
version = "0.4"

[dependencies.clap]
features = ["derive"]
optional = true
version = "4.5"

[dependencies.cpal]
optional = true
version = "0.15"

[dependencies.crossterm]
optional = true
version = "0.28"

[dependencies.dasp]
features = ["all"]
optional = true
version = "0.11"

[dependencies.dirs]
version = "5.0"

[dependencies.ffmpeg-next]
optional = true
version = "6.0"

[dependencies.futures]
optional = true
version = "0.3"

[dependencies.gstreamer]
optional = true
version = "0.21"

[dependencies.hound]
optional = true
version = "3.5"

[dependencies.image]
features = ["jpeg", "png", "webp", "tiff", "bmp"]
optional = true
version = "0.24"

[dependencies.imageproc]
optional = true
version = "0.23"

[dependencies.indicatif]
optional = true
version = "0.17"

[dependencies.libloading]
version = "0.8"

[dependencies.mimalloc]
default-features = false
version = "0.1"

[dependencies.nng]
optional = true
version = "1.0"

[dependencies.num_cpus]
version = "1.0"

[dependencies.num_enum]
version = "0.7"

[dependencies.rand]
version = "0.8"

[dependencies.ratatui]
optional = true
version = "0.28"

[dependencies.rayon]
optional = true
version = "1.7"

[dependencies.regex]
version = "1.10"

[dependencies.reqwest]
features = ["stream", "json"]
optional = true
version = "0.11"

[dependencies.ringbuf]
optional = true
version = "0.3"

[dependencies.rodio]
optional = true
version = "0.17"

[dependencies.rubato]
optional = true
version = "0.14"

[dependencies.serde]
features = ["derive"]
version = "1.0"

[dependencies.serde_json]
version = "1.0"

[dependencies.symphonia]
features = ["all"]
optional = true
version = "0.5"

[dependencies.tempfile]
version = "3.0"

[dependencies.thiserror]
version = "1.0"

[dependencies.tokio]
features = ["full"]
optional = true
version = "1.0"

[dependencies.tokio-stream]
optional = true
version = "0.1"

[dependencies.tokio-tungstenite]
optional = true
version = "0.20"

[dependencies.tokio-util]
features = ["codec", "io", "rt"]
optional = true
version = "0.7"

[dependencies.toml]
version = "0.8"

[dependencies.tower]
features = ["timeout"]
optional = true
version = "0.4"

[dependencies.tower-http]
features = ["cors"]
optional = true
version = "0.5"

[dependencies.urlencoding]
optional = true
version = "2.1"

[dev-dependencies.anyhow]
version = "1.0"

[[example]]
name = "advanced_generation"
path = "examples/advanced_generation.rs"

[[example]]
name = "async_generation"
path = "examples/async_generation.rs"
required-features = ["async"]

[[example]]
name = "batch"
path = "examples/batch.rs"

[[example]]
name = "benchmarks"
path = "examples/benchmarks.rs"

[[example]]
name = "builder_patterns"
path = "examples/builder_patterns.rs"
required-features = ["async"]

[[example]]
name = "chat"
path = "examples/chat.rs"
required-features = ["async"]

[[example]]
name = "complete_integration_demo"
path = "examples/complete_integration_demo.rs"
required-features = ["async"]

[[example]]
name = "comprehensive_test"
path = "examples/comprehensive_test.rs"

[[example]]
name = "configuration_management"
path = "examples/configuration_management.rs"
required-features = ["async"]

[[example]]
name = "embedding"
path = "examples/embedding.rs"

[[example]]
name = "ffi_test"
path = "examples/ffi_test.rs"

[[example]]
name = "functionality_test"
path = "examples/functionality_test.rs"

[[example]]
name = "integration_showcase"
path = "examples/integration_showcase.rs"
required-features = ["async"]

[[example]]
name = "late_interaction"
path = "examples/late_interaction.rs"
required-features = ["late-interaction"]

[[example]]
name = "multimodal"
path = "examples/multimodal.rs"

[[example]]
name = "real_model_test"
path = "examples/real_model_test.rs"

[[example]]
name = "session"
path = "examples/session.rs"

[[example]]
name = "simple"
path = "examples/simple.rs"

[[example]]
name = "simple_generation"
path = "examples/simple_generation.rs"

[[example]]
name = "streaming_audio_demo"
path = "examples/streaming_audio_demo.rs"
required-features = ["streaming-audio"]

[[example]]
name = "streaming_generation"
path = "examples/streaming_generation.rs"
required-features = ["streaming"]

[[example]]
name = "web_service"
path = "examples/web_service.rs"
required-features = ["web"]

[features]
async = ["tokio", "futures", "tokio-util"]
cuda = []
daemon = ["async", "tokio-runtime", "web", "nng", "ratatui", "crossterm", "clap", "reqwest", "indicatif", "urlencoding", "tokio-stream", "base64"]
default = []
format-conversion = ["multimodal", "ffmpeg-next"]
full = ["async", "streaming", "web", "websockets", "multimodal", "parallel", "late-interaction", "tokio-runtime", "format-conversion", "streaming-audio", "daemon"]
late-interaction = []
macos-optimization = ["core-foundation", "coreaudio-rs"]
multimodal = ["image", "imageproc", "hound", "symphonia", "rubato", "dasp", "tokio", "tokio-util"]
parallel = ["rayon"]
rocm = []
streaming = ["async", "async-stream"]
streaming-audio = ["multimodal", "cpal", "ringbuf"]
tokio-runtime = ["tokio", "tokio-util"]
web = ["async", "axum", "tower", "tower-http"]
websockets = ["async", "axum", "tokio-tungstenite"]
windows-optimization = ["windows"]

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

[package]
authors = ["Neul Labs <hello@neul.uk>"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = "build.rs"
categories = ["api-bindings", "science", "text-processing"]
description = "Comprehensive Rust bindings for llama.cpp with memory-safe API and advanced features"
documentation = "https://docs.rs/mullama"
edition = "2021"
homepage = "https://github.com/neul-labs/mullama"
include = ["src/**/*", "examples/**/*", "tests/**/*", "build.rs", "wrapper.h", "Cargo.toml", "LICENSE", "README.md", "CONTRIBUTING.md"]
keywords = ["llm", "llama", "ai", "inference", "bindings"]
license = "MIT"
name = "mullama"
readme = "README.md"
repository = "https://github.com/neul-labs/mullama"
rust-version = "1.75"
version = "0.1.1"

[target.'cfg(target_os = "macos")'.dependencies.core-foundation]
optional = true
version = "0.9"

[target.'cfg(target_os = "macos")'.dependencies.coreaudio-rs]
optional = true
version = "0.11"

[target."cfg(unix)".build-dependencies.pkg-config]
version = "0.3"

[target."cfg(unix)".dependencies.libc]
version = "0.2"

[target."cfg(windows)".build-dependencies.winapi]
features = ["winuser", "consoleapi", "processenv"]
version = "0.3"

[target."cfg(windows)".dependencies.windows]
features = ["Win32_Media_Audio", "Win32_Media_Audio_DirectSound", "Win32_System_Com", "Win32_Foundation", "Win32_System_Threading"]
optional = true
version = "0.48"

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

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

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

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

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

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

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

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

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