weirdnet-model 0.5.3

Weirdnet local models: Hugging Face GGUF download with resume and checksum, a Gemma 4 catalog, hardware detection and model sizing, streaming llama.cpp inference on a worker thread with cancel, and an optional weirdnet-agent ModelBackend.
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"
rust-version = "1.99"
name = "weirdnet-model"
version = "0.5.3"
authors = ["Weird Brains LLC"]
build = "build.rs"
include = [
    "build.rs",
    "src/**",
    "README.md",
    "CHANGELOG.md",
    "LICENSE",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Weirdnet local models: Hugging Face GGUF download with resume and checksum, a Gemma 4 catalog, hardware detection and model sizing, streaming llama.cpp inference on a worker thread with cancel, and an optional weirdnet-agent ModelBackend."
documentation = "https://docs.rs/weirdnet-model"
readme = "README.md"
keywords = [
    "llm",
    "gguf",
    "llama-cpp",
    "huggingface",
    "weirdnet",
]
categories = [
    "api-bindings",
    "science",
]
license = "BSD-3-Clause"
repository = "https://github.com/WeirdBrains/weirdnet-model"

[features]
agent = [
    "dep:weirdnet-agent",
    "dep:async-trait",
]
cpu-dispatch = [
    "llama",
    "llama-cpp-2/dynamic-backends",
]
default = []
llama = ["dep:llama-cpp-2"]
metal = [
    "llama",
    "llama-cpp-2/metal",
]
vulkan = [
    "llama",
    "llama-cpp-2/vulkan",
]

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

[dependencies.async-trait]
version = "0.1"
optional = true

[dependencies.dirs]
version = "6"

[dependencies.fs4]
version = "1"

[dependencies.llama-cpp-2]
version = "0.1.161"
features = ["sampler"]
optional = true
default-features = false

[dependencies.minijinja]
version = "3"
features = [
    "json",
    "loop_controls",
]

[dependencies.minijinja-contrib]
version = "3"
features = ["pycompat"]

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

[dependencies.serde_json]
version = "1"

[dependencies.sha2]
version = "0.10"

[dependencies.thiserror]
version = "2"

[dependencies.tokio]
version = "1"
features = ["sync"]

[dependencies.ureq]
version = "3"

[dependencies.weirdnet-agent]
version = "0.5"
optional = true

[dev-dependencies.tempfile]
version = "3"

[dev-dependencies.tokio]
version = "1"
features = [
    "sync",
    "macros",
    "rt",
    "time",
]