[package]
edition = "2021"
rust-version = "1.78"
name = "synaptic-models"
version = "0.2.0"
authors = ["Synaptic Contributors"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "LLM provider adapters (OpenAI, Anthropic, Gemini, Ollama) with streaming and wrappers"
readme = false
license = "MIT"
repository = "https://github.com/dnw3/synaptic"
[lib]
name = "synaptic_models"
path = "src/lib.rs"
[[test]]
name = "anthropic"
path = "tests/anthropic.rs"
[[test]]
name = "bound_tools"
path = "tests/bound_tools.rs"
[[test]]
name = "gemini"
path = "tests/gemini.rs"
[[test]]
name = "model_profile"
path = "tests/model_profile.rs"
[[test]]
name = "ollama"
path = "tests/ollama.rs"
[[test]]
name = "openai"
path = "tests/openai.rs"
[[test]]
name = "rate_limit"
path = "tests/rate_limit.rs"
[[test]]
name = "retry"
path = "tests/retry.rs"
[[test]]
name = "structured_output"
path = "tests/structured_output.rs"
[[test]]
name = "token_bucket"
path = "tests/token_bucket.rs"
[dependencies.async-stream]
version = "0.3"
[dependencies.async-trait]
version = "0.1"
[dependencies.bytes]
version = "1"
[dependencies.eventsource-stream]
version = "0.2"
[dependencies.futures]
version = "0.3"
[dependencies.reqwest]
version = "0.12"
features = [
"json",
"stream",
]
[dependencies.serde]
version = "1.0"
features = ["derive"]
[dependencies.serde_json]
version = "1.0"
[dependencies.synaptic-core]
version = "0.2.0"
[dependencies.tokio]
version = "1.41"
features = [
"macros",
"rt-multi-thread",
"sync",
"time",
"fs",
]
[dev-dependencies.futures]
version = "0.3"
[dev-dependencies.tokio]
version = "1.41"
features = [
"macros",
"rt-multi-thread",
"sync",
"time",
"fs",
]