# 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"
rust-version = "1.87"
name = "pakx-agents"
version = "0.1.7"
authors = ["pakx contributors"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "pakx agent adapters — Claude Code, Cursor, Codex, Copilot, Windsurf"
readme = false
license = "MIT"
repository = "https://github.com/pakxdev/pakx"

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

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

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

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

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

[dependencies.base64]
version = "0.22"

[dependencies.dirs]
version = "5"

[dependencies.pakx-core]
version = "0.1.7"

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

[dependencies.serde_json]
version = "1.0"

[dependencies.sha2]
version = "0.10"

[dependencies.tempfile]
version = "3.13"

[dependencies.thiserror]
version = "1.0"

[dependencies.tokio]
version = "1.41"
features = [
    "macros",
    "rt-multi-thread",
    "fs",
    "io-util",
]

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

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

[dev-dependencies.tokio]
version = "1.41"
features = [
    "macros",
    "rt-multi-thread",
    "fs",
    "io-util",
]

[lints.clippy]
missing_errors_doc = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"
must_use_candidate = "allow"

[lints.clippy.all]
level = "warn"
priority = -1

[lints.clippy.nursery]
level = "warn"
priority = -1

[lints.clippy.pedantic]
level = "warn"
priority = -1

[lints.rust]
unreachable_pub = "warn"
unsafe_code = "forbid"
