# 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.88"
name = "behest-tool"
version = "0.5.3"
authors = [
    "zhenyi <434836402@qq.com>",
    "Jiaxiang Hu <1849625991@qq.com>",
]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Tool trait, registry, and execution strategies for the behest agent runtime"
homepage = "https://github.com/lazhenyi/behest"
documentation = "https://docs.rs/behest"
readme = false
keywords = [
    "agent",
    "llm",
    "tool-calling",
    "runtime",
    "ai",
]
categories = [
    "asynchronous",
    "api-bindings",
    "development-tools",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/lazhenyi/behest"

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

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

[dependencies.behest-context]
version = "0.5.3"

[dependencies.behest-core]
version = "0.5.3"

[dependencies.bitflags]
version = "2"

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

[dependencies.serde_json]
version = "1.0"

[dependencies.tokio]
version = "1.52"
features = [
    "sync",
    "time",
]
default-features = false

[dev-dependencies.tokio]
version = "1.52"
features = [
    "rt",
    "macros",
    "sync",
    "time",
]
default-features = false

[lints.clippy]
expect_used = "deny"
unwrap_used = "deny"

[lints.rust]
unsafe_code = "forbid"

[lints.rust.missing_docs]
level = "deny"
priority = 10

[lints.rust.unreachable_pub]
level = "deny"
priority = 10
