neuron-types 0.3.0

Core traits for AI agents in Rust — Provider, Tool, and ContextStrategy without the framework buy-in
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 = "2024"
rust-version = "1.90"
name = "neuron-types"
version = "0.3.0"
build = false
exclude = ["CLAUDE.md"]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Core traits for AI agents in Rust — Provider, Tool, and ContextStrategy without the framework buy-in"
homepage = "https://github.com/secbear/neuron"
documentation = "https://docs.rs/neuron-types"
readme = "README.md"
keywords = [
    "ai",
    "agent",
    "llm",
    "traits",
    "provider",
]
categories = [
    "science",
    "asynchronous",
]
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 = "embedding"
path = "tests/embedding.rs"

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

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

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

[[test]]
name = "proptest_serde"
path = "tests/proptest_serde.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"

[[bench]]
name = "serialization"
path = "benches/serialization.rs"
harness = false

[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.criterion]
version = "0.5"
features = ["html_reports"]

[dev-dependencies.proptest]
version = "1"

[dev-dependencies.tokio]
version = "1"
features = [
    "sync",
    "macros",
    "rt-multi-thread",
]