synaptic-core 0.2.0

Core traits and types for Synaptic: ChatModel, Message, Tool, SynapticError
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-core"
version = "0.2.0"
authors = ["Synaptic Contributors"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Core traits and types for Synaptic: ChatModel, Message, Tool, SynapticError"
readme = false
license = "MIT"
repository = "https://github.com/dnw3/synaptic"

[features]
schemars = ["dep:schemars"]

[lib]
name = "synaptic_core"
path = "src/lib.rs"

[[test]]
name = "config"
path = "tests/config.rs"

[[test]]
name = "content_blocks"
path = "tests/content_blocks.rs"

[[test]]
name = "error"
path = "tests/error.rs"

[[test]]
name = "message"
path = "tests/message.rs"

[[test]]
name = "message_utils"
path = "tests/message_utils.rs"

[[test]]
name = "runtime"
path = "tests/runtime.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.schemars]
version = "0.8"
features = ["derive"]
optional = true

[dependencies.serde]
version = "1.0"
features = ["derive"]

[dependencies.serde_json]
version = "1.0"

[dependencies.thiserror]
version = "2.0"

[dependencies.tokio]
version = "1.41"
features = [
    "macros",
    "rt-multi-thread",
    "sync",
    "time",
    "fs",
]

[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",
]