mirror of
https://github.com/fabro-sh/fabro.git
synced 2026-10-11 03:40:05 +00:00
Add the shared fabro-http transport crate and route hand-written HTTP client construction through it. Use FABRO_HTTP_PROXY_POLICY for test no-proxy defaults, remove direct reqwest deps from ordinary crates, and add clippy bans for raw reqwest entrypoints.
29 lines
595 B
TOML
29 lines
595 B
TOML
[package]
|
|
name = "twin-openai"
|
|
edition.workspace = true
|
|
version.workspace = true
|
|
publish = false
|
|
license.workspace = true
|
|
description = "Fake OpenAI-compatible server for local black-box testing"
|
|
|
|
[lib]
|
|
doctest = false
|
|
|
|
[lints]
|
|
workspace = true
|
|
|
|
[dependencies]
|
|
anyhow.workspace = true
|
|
async-stream = "0.3"
|
|
axum = { workspace = true, features = ["macros"] }
|
|
fabro-http.workspace = true
|
|
futures-util.workspace = true
|
|
http = "1"
|
|
serde.workspace = true
|
|
serde_json.workspace = true
|
|
tokio.workspace = true
|
|
tracing.workspace = true
|
|
tracing-subscriber.workspace = true
|
|
|
|
[dev-dependencies]
|
|
tower = "0.5"
|