llm-stack 0.5.0

Core traits, types, and tools for the llm-stack SDK
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.85.0"
name = "llm-stack"
version = "0.5.0"
authors = ["nazq"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Core traits, types, and tools for the llm-stack SDK"
homepage = "https://github.com/nazq-org/llm-stack"
documentation = "https://docs.rs/llm-stack"
readme = "README.md"
keywords = [
    "llm",
    "ai",
    "anthropic",
    "openai",
    "ollama",
]
categories = [
    "api-bindings",
    "asynchronous",
]
license = "Apache-2.0"
repository = "https://github.com/nazq-org/llm-stack"
resolver = "2"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
    "--cfg",
    "docsrs",
]

[features]
default = ["schema"]
schema = [
    "dep:jsonschema",
    "dep:schemars",
]
test-utils = []
tracing = ["dep:tracing"]

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

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

[dependencies.futures]
version = "0.3"

[dependencies.http]
version = "1"

[dependencies.jsonschema]
version = "0.29"
optional = true

[dependencies.rand]
version = "0.9"

[dependencies.reqwest]
version = "0.12"
default-features = false

[dependencies.schemars]
version = "1"
optional = true

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

[dependencies.serde_json]
version = "1"

[dependencies.thiserror]
version = "2"

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

[dependencies.tracing]
version = "0.1"
optional = true

[dependencies.url]
version = "2"
features = ["serde"]

[dev-dependencies.reqwest]
version = "0.12"
default-features = false

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

[lints.clippy]
missing_errors_doc = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"
must_use_candidate = "allow"

[lints.clippy.all]
level = "warn"
priority = -1

[lints.clippy.pedantic]
level = "warn"
priority = -1