# 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 = "rig-resources"
version = "0.1.6"
authors = ["Brad Cannon <61765732+ForeverAngry@users.noreply.github.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Reusable skills, tools, behavior patterns, and resource adapters for rig-compose agents."
readme = "README.md"
keywords = [
    "rig",
    "agent",
    "skill",
    "tool",
    "resources",
]
categories = ["asynchronous"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/ForeverAngry/rig-resources"

[features]
default = []
full = [
    "security",
    "graph",
]
graph = ["dep:petgraph"]
security = []

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

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

[dependencies.parking_lot]
version = "0.12"

[dependencies.petgraph]
version = "0.6"
optional = true

[dependencies.rig-compose]
version = "0.4"

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

[dependencies.serde_json]
version = "1.0"

[dependencies.thiserror]
version = "1.0"

[dependencies.tracing]
version = "0.1"

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

[lints.clippy]
await_holding_lock = "deny"
await_holding_refcell_ref = "deny"
dbg_macro = "forbid"
expect_fun_call = "deny"
expect_used = "deny"
indexing_slicing = "deny"
panic = "deny"
panic_in_result_fn = "deny"
todo = "forbid"
unimplemented = "forbid"
unreachable = "deny"
unwrap_used = "deny"

[profile.release]
opt-level = "s"
lto = true
