neuron-loop 0.2.0

Agentic loop for Rust — multi-turn tool dispatch, streaming, and conversation management over any LLM provider
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-loop"
version = "0.2.0"
build = false
exclude = ["CLAUDE.md"]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Agentic loop for Rust — multi-turn tool dispatch, streaming, and conversation management over any LLM provider"
homepage = "https://github.com/secbear/neuron"
documentation = "https://docs.rs/neuron-loop"
readme = "README.md"
keywords = [
    "ai",
    "llm",
    "agent",
    "agentic",
    "streaming",
]
categories = [
    "science",
    "asynchronous",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/secbear/neuron"

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

[[example]]
name = "agent_loop"
path = "examples/agent_loop.rs"

[[example]]
name = "cancellation"
path = "examples/cancellation.rs"

[[example]]
name = "multi_turn"
path = "examples/multi_turn.rs"

[[example]]
name = "parallel_tools"
path = "examples/parallel_tools.rs"

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

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

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

[dependencies.futures]
version = "0.3"

[dependencies.neuron-tool]
version = "0.2.0"

[dependencies.neuron-types]
version = "0.2.0"

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

[dependencies.serde_json]
version = "1"

[dependencies.tokio]
version = "1"
features = ["sync"]

[dependencies.tracing]
version = "0.1"

[dev-dependencies.chrono]
version = "0.4"
features = ["serde"]

[dev-dependencies.criterion]
version = "0.5"
features = ["html_reports"]

[dev-dependencies.neuron-context]
version = "0.2.0"

[dev-dependencies.schemars]
version = "0.8"

[dev-dependencies.thiserror]
version = "2"

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

[dev-dependencies.tokio-util]
version = "0.7"