# 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 = "assay-mcp-server"
version = "3.6.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "MCP server integration for Assay"
readme = "README.md"
license = "MIT"
repository = "https://github.com/Rul1an/assay"

[features]
experimental = ["assay-core/experimental"]
test-outbound = []

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

[[bin]]
name = "assay-mcp-server"
path = "src/main.rs"

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

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

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

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

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

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

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

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

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

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

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

[dependencies.anyhow]
version = "1"

[dependencies.assay-common]
version = "3.6.0"
features = ["std"]
default-features = false

[dependencies.assay-core]
version = "3.6.0"

[dependencies.assay-metrics]
version = "3.6.0"

[dependencies.base64]
version = "0.22"

[dependencies.clap]
version = "4"
features = [
    "derive",
    "env",
]

[dependencies.hex]
version = "0.4"

[dependencies.jsonwebtoken]
version = "10.3"
features = [
    "rust_crypto",
    "use_pem",
]
default-features = false

[dependencies.moka]
version = "0.12"
features = ["sync"]

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

[dependencies.serde]
version = "1.0"
features = [
    "derive",
    "std",
]
default-features = false

[dependencies.serde_json]
version = "1.0"
features = ["std"]
default-features = false

[dependencies.serde_yaml]
version = "0.9"

[dependencies.sha2]
version = "0.11"

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

[dependencies.tracing]
version = "0.1"

[dependencies.tracing-subscriber]
version = "0.3"
features = [
    "env-filter",
    "json",
    "time",
]

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

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

[dev-dependencies.base64]
version = "0.22"

[dev-dependencies.jsonwebtoken]
version = "10.3"
features = [
    "rust_crypto",
    "use_pem",
]
default-features = false

[dev-dependencies.rand]
version = "0.8"

[dev-dependencies.rsa]
version = "0.9"

[dev-dependencies.serde_json]
version = "1.0"
features = ["std"]
default-features = false

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

[dev-dependencies.tokio]
version = "1"
features = [
    "full",
    "full",
]

[dev-dependencies.wiremock]
version = "0.6"

[lints.clippy]
missing_errors_doc = "allow"
print_stdout = "allow"
unwrap_used = "allow"

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

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

[lints.rust]
missing_docs = "allow"
unsafe_code = "deny"
unused_lifetimes = "warn"

[lints.rust.rust_2018_idioms]
level = "warn"
priority = -1
