[package]
edition = "2024"
rust-version = "1.90"
name = "neuron-types"
version = "0.1.0"
build = false
exclude = ["CLAUDE.md"]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Shared types and traits for neuron"
homepage = "https://github.com/secbear/neuron"
readme = "README.md"
keywords = [
"ai",
"agent",
"types",
"llm",
]
categories = ["development-tools"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/secbear/neuron"
[lib]
name = "neuron_types"
path = "src/lib.rs"
[[test]]
name = "completion"
path = "tests/completion.rs"
[[test]]
name = "errors"
path = "tests/errors.rs"
[[test]]
name = "messages"
path = "tests/messages.rs"
[[test]]
name = "provider_trait"
path = "tests/provider_trait.rs"
[[test]]
name = "stream"
path = "tests/stream.rs"
[[test]]
name = "tool_trait"
path = "tests/tool_trait.rs"
[[test]]
name = "tool_types"
path = "tests/tool_types.rs"
[[test]]
name = "traits"
path = "tests/traits.rs"
[dependencies.chrono]
version = "0.4"
features = ["serde"]
[dependencies.futures]
version = "0.3"
[dependencies.schemars]
version = "0.8"
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"
[dependencies.thiserror]
version = "2"
[dependencies.tokio-util]
version = "0.7"
[dev-dependencies.tokio]
version = "1"
features = [
"sync",
"macros",
"rt-multi-thread",
]