# 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.95.0"
name = "ras-agent"
version = "4.2.0"
authors = ["KeyCode17"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Agent step loop, history, plan, rerun orchestration"
readme = false
license = "MIT"
repository = "https://github.com/KeyCode17/rust-ai-surfer"

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

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

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

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

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

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

[dependencies.chrono]
version = "0.4"
features = ["serde"]

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

[dependencies.ras-browser]
version = "4.2.0"

[dependencies.ras-cdp]
version = "4.2.0"

[dependencies.ras-dom]
version = "4.2.0"

[dependencies.ras-errors]
version = "4.2.0"

[dependencies.ras-events]
version = "4.2.0"

[dependencies.ras-filesystem]
version = "4.2.0"

[dependencies.ras-judge]
version = "4.2.0"

[dependencies.ras-llm]
version = "4.2.0"

[dependencies.ras-telemetry]
version = "4.2.0"

[dependencies.ras-tokens]
version = "4.2.0"

[dependencies.ras-tools]
version = "4.2.0"

[dependencies.ras-types]
version = "4.2.0"

[dependencies.ras-watchdogs]
version = "4.2.0"

[dependencies.regex]
version = "1.11"

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

[dependencies.serde_json]
version = "1"

[dependencies.sha2]
version = "0.10"

[dependencies.thiserror]
version = "2"

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

[dependencies.tokio-util]
version = "0.7"
features = ["rt"]

[dependencies.tracing]
version = "0.1"

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

[dependencies.uuid]
version = "1"
features = [
    "v7",
    "serde",
]

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

[dev-dependencies.serde_json]
version = "1"

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

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

[lints.rust]
unsafe_code = "forbid"
