synaptic-models 0.1.0

LLM provider adapters (OpenAI, Anthropic, Gemini, Ollama) with streaming and wrappers
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 = "2021"
rust-version = "1.78"
name = "synaptic-models"
version = "0.1.0"
authors = ["Synapse 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 = "gemini"
path = "tests/gemini.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.1.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",
]