neuron-tool 0.2.0

Tool registry with composable middleware pipeline for LLM function calling — rate limiting, auth, retries, and logging
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-tool"
version = "0.2.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Tool registry with composable middleware pipeline for LLM function calling — rate limiting, auth, retries, and logging"
homepage = "https://github.com/secbear/neuron"
documentation = "https://docs.rs/neuron-tool"
readme = "README.md"
keywords = [
    "ai",
    "llm",
    "tools",
    "middleware",
    "function-calling",
]
categories = [
    "science",
    "asynchronous",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/secbear/neuron"

[features]
default = ["macros"]
macros = ["dep:neuron-tool-macros"]

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

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

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

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

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

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

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

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

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

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

[dependencies.neuron-tool-macros]
version = "0.2.0"
optional = true

[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.proptest]
version = "1"

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

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

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

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

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