# 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 = "peon-runtime"
version = "0.1.1"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A runtime-agnostic agent execution engine with zero-trust context injection, multimodal messaging, and pluggable LLM providers."
readme = "README.md"
license = "MIT OR Apache-2.0"
repository = "https://github.com/stephen94125/peon-lib"

[features]
default = ["native"]
native = [
    "dep:reqwest",
    "dep:dotenvy",
]
wasm = []

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

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

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

[dependencies.dotenvy]
version = "0.15"
optional = true

[dependencies.log]
version = "0.4"

[dependencies.reqwest]
version = "0.12"
features = [
    "json",
    "rustls-tls",
]
optional = true
default-features = false

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

[dependencies.serde_json]
version = "1"

[dependencies.thiserror]
version = "2"

[dev-dependencies.dotenvy]
version = "0.15"

[dev-dependencies.env_logger]
version = "0.11"

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