jev-bridge 0.6.0

Bridge a generic OpenAI-compatible inference API into a Jev-style decision scoring service
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"
name = "jev-bridge"
version = "0.6.0"
build = false
exclude = ["results/"]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Bridge a generic OpenAI-compatible inference API into a Jev-style decision scoring service"
readme = "README.md"
keywords = [
    "llm",
    "llama-cpp",
    "logprobs",
    "classification",
    "inference",
]
categories = [
    "web-programming::http-server",
    "science",
]
license = "MIT"
repository = "https://github.com/lib-x/jev-bridge"

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

[features]
default = ["local-tokenizer"]
local-tokenizer = ["dep:tokenizers"]

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

[[bin]]
name = "jev-bridge"
path = "src/main.rs"
required-features = ["local-tokenizer"]

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

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

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

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

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

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

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

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

[dependencies.anyhow]
version = "1"

[dependencies.axum]
version = "0.8"

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

[dependencies.minijinja]
version = "2.24.0"

[dependencies.reqwest]
version = "0.12"
features = [
    "json",
    "rustls-tls",
]
default-features = false

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

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

[dependencies.sha2]
version = "0.10"

[dependencies.tokenizers]
version = "0.23.2"
optional = true

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