offgrid-server 0.2.2

OpenAI-compatible HTTP sidecar for offgrid
# 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.88"
name = "offgrid-server"
version = "0.2.2"
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "OpenAI-compatible HTTP sidecar for offgrid"
readme = "README.md"
keywords = [
    "llm",
    "openai",
    "server",
    "llama",
    "offline",
]
categories = [
    "command-line-utilities",
    "web-programming::http-server",
]
license = "MIT"
repository = "https://github.com/Pinta365/offgrid"

[features]
cuda = ["offgrid/cuda"]
default = ["vulkan"]
dynamic-backends = ["offgrid/dynamic-backends"]
vulkan = ["offgrid/vulkan"]

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

[[bin]]
name = "offgrid-server"
path = "src/main.rs"

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

[dependencies.axum]
version = "0.8"

[dependencies.base64]
version = "0.22"

[dependencies.clap]
version = "4"
features = [
    "derive",
    "env",
]

[dependencies.futures-util]
version = "0.3"

[dependencies.log]
version = "0.4"

[dependencies.offgrid]
version = "0.2.2"
default-features = false

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

[dependencies.serde_json]
version = "1"
features = ["preserve_order"]

[dependencies.tokio]
version = "1"
features = [
    "rt-multi-thread",
    "macros",
    "net",
    "signal",
    "sync",
    "time",
]

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

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