# 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 = "2021"
name = "argentor-gateway"
version = "1.3.0"
authors = ["Federico Boiero <fboiero@xcapit.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Axum-based HTTP gateway, REST API, and WebSocket server for Argentor"
homepage = "https://github.com/fboiero/Argentor"
readme = false
keywords = [
    "ai",
    "agent",
    "wasm",
    "mcp",
    "orchestration",
]
categories = [
    "web-programming",
    "asynchronous",
    "network-programming",
]
license = "AGPL-3.0-only"
repository = "https://github.com/fboiero/Argentor"

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

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

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

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

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

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

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

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

[dependencies.argentor-a2a]
version = "1.2.0"

[dependencies.argentor-agent]
version = "1.2.0"

[dependencies.argentor-channels]
version = "1.2.0"

[dependencies.argentor-core]
version = "1.2.0"

[dependencies.argentor-mcp]
version = "1.2.0"

[dependencies.argentor-memory]
version = "1.2.0"

[dependencies.argentor-orchestrator]
version = "1.2.0"

[dependencies.argentor-security]
version = "1.2.0"

[dependencies.argentor-session]
version = "1.2.0"

[dependencies.argentor-skills]
version = "1.2.0"

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

[dependencies.axum]
version = "0.8"
features = ["ws"]

[dependencies.base64]
version = "0.22"

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

[dependencies.futures-util]
version = "0.3"

[dependencies.getrandom]
version = "0.2"

[dependencies.hex]
version = "0.4"

[dependencies.regex]
version = "1"

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

[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-stream]
version = "0.1"

[dependencies.tower]
version = "0.5"
features = ["full"]

[dependencies.tracing]
version = "0.1"

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

[dev-dependencies.argentor-a2a]
version = "1.2.0"

[dev-dependencies.argentor-builtins]
version = "1.2.0"

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

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

[dev-dependencies.sysinfo]
version = "0.32"

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

[dev-dependencies.tokio-tungstenite]
version = "0.24"

[dev-dependencies.tower]
version = "0.5"
features = ["full"]

[lints.clippy]
cloned_instead_of_copied = "warn"
expect_used = "warn"
explicit_iter_loop = "warn"
implicit_clone = "warn"
redundant_closure_for_method_calls = "warn"
semicolon_if_nothing_returned = "warn"
uninlined_format_args = "warn"
unwrap_used = "warn"

[lints.rust]
missing_docs = "warn"
