inferd-daemon 0.2.0

The inferd daemon: NDJSON-over-IPC server, admission queue, single-instance lock, router, activity log.
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.89"
name = "inferd-daemon"
version = "0.2.0"
authors = ["3rg0n"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "The inferd daemon: NDJSON-over-IPC server, admission queue, single-instance lock, router, activity log."
homepage = "https://inferd.io"
readme = "README.md"
license = "MIT"
repository = "https://github.com/3rg0n/inferd"
resolver = "2"

[features]
bedrock = ["inferd-engine/bedrock"]
cuda = ["inferd-engine/cuda"]
default = []
llamacpp = ["inferd-engine/llamacpp"]
llamacpp-integration = [
    "llamacpp",
    "inferd-engine/llamacpp-integration",
]
metal = ["inferd-engine/metal"]
openai = ["inferd-engine/openai"]
rocm = ["inferd-engine/rocm"]
security = []
vulkan = ["inferd-engine/vulkan"]

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

[[bin]]
name = "inferd-daemon"
path = "src/main.rs"

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

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

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

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

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

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

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

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

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

[dependencies.anyhow]
version = "1"

[dependencies.bytes]
version = "1"

[dependencies.chrono]
version = "0.4"
features = [
    "clock",
    "serde",
]
default-features = false

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

[dependencies.inferd-engine]
version = "=0.2.0"

[dependencies.inferd-proto]
version = "=0.2.0"

[dependencies.regex]
version = "1"

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

[dependencies.serde_json]
version = "1"

[dependencies.sha2]
version = "0.10"

[dependencies.subtle]
version = "2"

[dependencies.thiserror]
version = "1"

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

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

[dependencies.tracing]
version = "0.1"

[dependencies.tracing-subscriber]
version = "0.3"
features = [
    "env-filter",
    "json",
]

[dependencies.ureq]
version = "2"
features = ["tls"]
default-features = false

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

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

[dev-dependencies.tokio]
version = "1"
features = [
    "full",
    "macros",
    "rt-multi-thread",
    "test-util",
]

[target."cfg(unix)".dependencies.nix]
version = "0.27"
features = [
    "fs",
    "user",
    "socket",
]

[target."cfg(windows)".dependencies.windows-sys]
version = "0.52"
features = [
    "Win32_Foundation",
    "Win32_Security",
    "Win32_Security_Authorization",
    "Win32_Storage_FileSystem",
    "Win32_System_Memory",
    "Win32_System_Pipes",
    "Win32_System_Threading",
]