# 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.96"
name = "oxi-agent"
version = "0.32.1"
authors = ["a7garden <a7garden@icloud.com>"]
build = false
exclude = [
    "target/",
    "benches/",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Agent runtime with tool-calling loop for AI coding assistants"
readme = "README.md"
keywords = [
    "ai",
    "agent",
    "tools",
    "llm",
]
categories = [
    "development-tools",
    "asynchronous",
]
license = "MIT"
repository = "https://github.com/a7garden/oxi"
resolver = "2"

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

[features]
default = []
native-browser = ["oxibrowser-core"]

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

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

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

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

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

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

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

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

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

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

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

[dependencies.anyhow]
version = "1"

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

[dependencies.base64]
version = "0.22"

[dependencies.dirs]
version = "5"

[dependencies.futures]
version = "0.3"

[dependencies.glob]
version = "0.3"

[dependencies.oxi-ai]
version = "0.32.1"

[dependencies.oxibrowser]
version = "0.15"
default-features = false

[dependencies.oxibrowser-core]
version = "0.15"
optional = true

[dependencies.parking_lot]
version = "0.12"

[dependencies.regex]
version = "1"

[dependencies.reqwest]
version = "0.12"
features = ["json"]

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

[dependencies.serde_json]
version = "1"

[dependencies.serde_yaml]
version = "0.9"

[dependencies.thiserror]
version = "2"

[dependencies.tokio]
version = "1"
features = ["full"]

[dependencies.tracing]
version = "0.1"

[dependencies.unicode-normalization]
version = "0.1"

[dependencies.uuid]
version = "1"
features = ["v4"]

[dev-dependencies.async-stream]
version = "0.3"

[dev-dependencies.tempfile]
version = "3"

[target."cfg(unix)".dependencies.libc]
version = "0.2"
