weirdnet-backends 0.4.7

Weirdnet model-node wrapper: llama.cpp server, vLLM and MLX-LM adapters, a local supervisor (swap groups, idle unload, crash backoff, drain), SSE decoding, raw infer/2 serving, and the /weirdnet-backends/node/1 protocol with signed capability records.
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-backends"
version = "0.4.7"
authors = ["Weird Brains LLC"]
build = false
include = [
    "src/**",
    "README.md",
    "CHANGELOG.md",
    "LICENSE",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Weirdnet model-node wrapper: llama.cpp server, vLLM and MLX-LM adapters, a local supervisor (swap groups, idle unload, crash backoff, drain), SSE decoding, raw infer/2 serving, and the /weirdnet-backends/node/1 protocol with signed capability records."
documentation = "https://docs.rs/weirdnet-backends"
readme = "README.md"
keywords = [
    "llm",
    "inference",
    "llama-cpp",
    "vllm",
    "weirdnet",
]
categories = ["asynchronous"]
license = "BSD-3-Clause"
repository = "https://github.com/WeirdBrains/weirdnet-backends"

[package.metadata.docs.rs]
all-features = true

[features]
default = []
node = [
    "dep:weirdnet-net",
    "dep:weirdnet-sync",
    "dep:serde_bytes",
    "weirdnet-agent/pool",
    "weirdnet-agent/serve",
]

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

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

[dependencies.axum]
version = "0.8"
features = [
    "tokio",
    "http1",
    "json",
]
default-features = false

[dependencies.futures]
version = "0.3"

[dependencies.getrandom]
version = "0.3"

[dependencies.reqwest]
version = "0.13"
features = [
    "json",
    "stream",
]
default-features = false

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

[dependencies.serde_bytes]
version = "0.11"
optional = true

[dependencies.serde_json]
version = "1"

[dependencies.tokio]
version = "1"
features = [
    "process",
    "time",
    "sync",
    "macros",
    "rt",
    "net",
    "io-util",
    "fs",
]

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

[dependencies.tracing]
version = "0.1"

[dependencies.weirdnet-agent]
version = "0.5.5"

[dependencies.weirdnet-model]
version = "0.5.3"

[dependencies.weirdnet-net]
version = "0.8.0"
optional = true

[dependencies.weirdnet-sync]
version = ">=0.5, <0.9"
optional = true

[dev-dependencies.axum]
version = "0.8"

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

[dev-dependencies.tokio]
version = "1"
features = [
    "process",
    "time",
    "sync",
    "macros",
    "rt",
    "rt-multi-thread",
    "net",
    "io-util",
    "test-util",
]

[dev-dependencies.weirdnet-net]
version = "0.8.0"

[dev-dependencies.weirdnet-sync]
version = ">=0.5, <0.9"

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