[package]
edition = "2024"
rust-version = "1.85"
name = "llm-tool"
version = "0.1.4"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Framework-agnostic Rust tool definitions for LLM agents"
readme = "README.md"
keywords = [
"llm",
"tool",
"agent",
"function-calling",
]
categories = ["api-bindings"]
license = "Apache-2.0 OR MIT"
repository = "https://github.com/domenukk/llm-tool"
[features]
default = []
prompt-templates = [
"dep:prompt-templates",
"llm-tool-macros/prompt-templates",
]
[lib]
name = "llm_tool"
path = "src/lib.rs"
[[test]]
name = "template_description"
path = "tests/template_description.rs"
[[test]]
name = "template_macro"
path = "tests/template_macro.rs"
[[test]]
name = "template_perf"
path = "tests/template_perf.rs"
[[test]]
name = "tool_macro"
path = "tests/tool_macro.rs"
[dependencies.llm-tool-macros]
version = "0.1.4"
[dependencies.prompt-templates]
version = "0.1.4"
optional = true
[dependencies.schemars]
version = "0.8"
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"
[dependencies.tracing]
version = "0.1"
[dev-dependencies.futures]
version = "0.3"
[dev-dependencies.tempfile]
version = "3"
[dev-dependencies.tokio]
version = "1"
features = [
"rt",
"macros",
"time",
"sync",
"fs",
]
[dev-dependencies.trybuild]
version = "1"
[lints.clippy.all]
level = "deny"
priority = -1
[lints.clippy.pedantic]
level = "deny"
priority = -1
[lints.rust]
warnings = "deny"