tiny-loop 0.3.0

Minimal AI agent framework
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"
name = "tiny-loop"
version = "0.3.0"
authors = ["DiscreteTom"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Minimal AI agent framework"
readme = "README.md"
keywords = [
    "ai",
    "agent",
    "llm",
    "openai",
]
categories = [
    "api-bindings",
    "asynchronous",
]
license = "MIT"
repository = "https://github.com/DiscreteTom/tiny-loop"
resolver = "2"

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

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

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

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

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

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

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

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

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

[dependencies.anyhow]
version = "1"

[dependencies.async-trait]
version = "0.1"

[dependencies.futures]
version = "0.3"

[dependencies.reqwest]
version = "0.13"
features = [
    "json",
    "stream",
]

[dependencies.schemars]
version = "1"

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

[dependencies.serde_json]
version = "1"

[dependencies.tiny-loop-macros]
version = "0.2"

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

[dependencies.tracing]
version = "0.1"

[dev-dependencies.rmcp]
version = "0.14"
features = [
    "client",
    "transport-child-process",
]

[dev-dependencies.tokio]
version = "1"
features = ["full"]