[[bin]]
name = "reflex"
path = "src/main.rs"
[dependencies.anyhow]
version = "1.0"
[dependencies.async-openai]
features = ["chat-completion-types"]
version = "0.31"
[dependencies.axum]
version = "0.8"
[dependencies.blake3]
version = "1.6"
[dependencies.chrono]
version = "0.4.42"
[dependencies.futures-util]
version = "0.3.31"
[dependencies.genai]
version = "0.4.4"
[dependencies.mimalloc]
default-features = false
version = "0.1"
[dependencies.reflex]
package = "reflex-cache"
version = "0.2.2"
[dependencies.reqwest]
features = ["json"]
version = "0.12"
[dependencies.rkyv]
features = ["bytecheck"]
version = "0.8"
[dependencies.serde]
features = ["derive"]
version = "1.0"
[dependencies.serde_json]
version = "1.0"
[dependencies.thiserror]
version = "2.0"
[dependencies.tokio]
features = ["full"]
version = "1.48"
[dependencies.tower-http]
features = ["trace", "cors"]
version = "0.6"
[dependencies.tracing]
version = "0.1"
[dependencies.tracing-subscriber]
features = ["env-filter"]
version = "0.3"
[dependencies.uuid]
features = ["v4", "fast-rng"]
version = "1.19.0"
[dev-dependencies.futures]
version = "0.3"
[dev-dependencies.http-body-util]
version = "0.1"
[dev-dependencies.hyper]
features = ["full"]
version = "1.0"
[dev-dependencies.reflex]
features = ["mock"]
package = "reflex-cache"
version = "0.2.2"
[dev-dependencies.tempfile]
version = "3.15"
[dev-dependencies.tower]
features = ["util"]
version = "0.5"
[features]
cpu = ["reflex/cpu"]
cuda = ["reflex/cuda"]
default = []
metal = ["reflex/metal"]
[lib]
name = "reflex_server"
path = "src/lib.rs"
[package]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
description = "OpenAI-compatible HTTP gateway for Reflex cache"
documentation = "https://docs.rs/reflex-server"
edition = "2024"
license = "AGPL-3.0"
name = "reflex-server"
readme = "README.md"
repository = "https://github.com/rawcontext/reflex"
resolver = "2"
rust-version = "1.92"
version = "0.2.2"
[[test]]
name = "benchmark_real"
path = "tests/benchmark_real.rs"
[[test]]
name = "coding_patterns_tests"
path = "tests/coding_patterns_tests.rs"
[[test]]
name = "e2e_tests"
path = "tests/e2e_tests.rs"
[[test]]
name = "integration_real"
path = "tests/integration_real.rs"
[[test]]
name = "knowledge_graph_tests"
path = "tests/knowledge_graph_tests.rs"
[[test]]
name = "request_shape_tests"
path = "tests/request_shape_tests.rs"
[[test]]
name = "reranker_tests"
path = "tests/reranker_tests.rs"