# 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.94.0"
name = "stygian-mcp"
version = "0.14.1"
authors = ["Nick Campbell <s0ma@protonmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Unified MCP (Model Context Protocol) server aggregating stygian-graph, stygian-browser, and stygian-proxy."
readme = "README.md"
keywords = [
    "mcp",
    "scraping",
    "llm",
    "browser",
    "proxy",
]
categories = [
    "web-programming",
    "network-programming",
]
license = "AGPL-3.0-only OR LicenseRef-Commercial"
repository = "https://github.com/greysquirr3l/stygian"
resolver = "2"

[features]
extract = [
    "stygian-graph/extract",
    "stygian-browser/extract",
]
mcp-attach = ["stygian-browser/mcp-attach"]

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

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

[dependencies.anyhow]
version = "1.0"

[dependencies.serde_json]
version = "1.0"

[dependencies.stygian-browser]
version = "0.14.0"
features = [
    "mcp",
    "stealth",
]
default-features = false

[dependencies.stygian-graph]
version = "0.14.0"
features = [
    "mcp",
    "browser",
    "charon",
]
default-features = false

[dependencies.stygian-plugin]
version = "0.14.0"
features = ["graph-integration"]

[dependencies.stygian-proxy]
version = "0.14.0"
features = [
    "mcp",
    "browser",
    "tls-profiled",
]

[dependencies.tokio]
version = "1.49"
features = [
    "full",
    "full",
]

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

[dependencies.tracing]
version = "0.1"

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

[lints.clippy]
multiple_crate_versions = "allow"
