[package]
edition = "2021"
rust-version = "1.78"
name = "synaptic-core"
version = "0.1.0"
authors = ["Synapse Contributors"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Core traits and types for Synapse: ChatModel, Message, Tool, SynapseError"
readme = false
license = "MIT"
repository = "https://github.com/dnw3/synaptic"
[lib]
name = "synaptic_core"
path = "src/lib.rs"
[[test]]
name = "config"
path = "tests/config.rs"
[[test]]
name = "error"
path = "tests/error.rs"
[[test]]
name = "message"
path = "tests/message.rs"
[[test]]
name = "tool_choice"
path = "tests/tool_choice.rs"
[dependencies.async-stream]
version = "0.3"
[dependencies.async-trait]
version = "0.1"
[dependencies.futures]
version = "0.3"
[dependencies.serde]
version = "1.0"
features = ["derive"]
[dependencies.serde_json]
version = "1.0"
[dependencies.thiserror]
version = "2.0"
[dev-dependencies.futures]
version = "0.3"
[dev-dependencies.serde_json]
version = "1.0"
[dev-dependencies.tokio]
version = "1.41"
features = [
"macros",
"rt-multi-thread",
"sync",
"time",
"fs",
]