[package]
edition = "2021"
rust-version = "1.88"
name = "synaptic-models"
version = "0.2.5"
authors = ["Synaptic Contributors"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "ProviderBackend abstraction and ChatModel wrappers (Retry, RateLimit, StructuredOutput, BoundTools)"
homepage = "https://dnw3.github.io/synaptic/"
readme = "README.md"
license = "MIT"
repository = "https://github.com/dnw3/synaptic"
[lib]
name = "synaptic_models"
path = "src/lib.rs"
[[test]]
name = "bound_tools"
path = "tests/bound_tools.rs"
[[test]]
name = "model_profile"
path = "tests/model_profile.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.futures]
version = "0.3"
[dependencies.reqwest]
version = "0.13"
features = [
"json",
"stream",
]
[dependencies.serde]
version = "1.0"
features = ["derive"]
[dependencies.serde_json]
version = "1.0"
[dependencies.synaptic-core]
version = "0.2"
[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",
]