# 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"
name = "aether-mcp-servers"
version = "0.3.6"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Built-in MCP tool servers for the Aether AI agent framework"
homepage = "https://github.com/contextbridge/aether"
readme = "README.md"
keywords = [
    "mcp",
    "aether",
    "agent",
    "tools",
]
categories = ["development-tools"]
license = "MIT"
repository = "https://github.com/contextbridge/aether"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
    "--cfg",
    "docsrs",
]

[package.metadata.dist]
dist = false

[features]
all = [
    "coding",
    "skills",
    "tasks",
    "subagents",
    "survey",
    "plan",
]
coding = [
    "dep:aether-project",
    "dep:aether-lspd",
    "dep:futures",
    "dep:glob",
    "dep:globset",
    "dep:grep",
    "dep:ignore",
    "dep:regex",
    "dep:tracing",
    "dep:thiserror",
    "dep:lsp-types",
    "dep:reqwest",
    "dep:uuid",
    "dep:chrono",
    "dep:htmd",
    "dep:dom_smoothie",
    "dep:url",
]
default = [
    "coding",
    "skills",
    "tasks",
    "subagents",
    "plan",
]
plan = []
skills = [
    "dep:aether-project",
    "dep:chrono",
    "dep:regex",
    "dep:serde_yml",
    "dep:tracing",
]
stdio = [
    "coding",
    "skills",
    "tasks",
    "survey",
    "subagents",
    "plan",
]
subagents = [
    "coding",
    "skills",
    "tasks",
    "survey",
    "plan",
    "dep:aether-core",
    "dep:aether-project",
    "dep:llm",
    "dep:futures",
    "dep:tracing",
]
survey = []
tasks = [
    "dep:chrono",
    "dep:tempfile",
    "dep:thiserror",
]
test-helpers = []

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

[[bin]]
name = "mcp-servers-stdio"
path = "src/bin/stdio.rs"
required-features = ["stdio"]

[[example]]
name = "lsp_diagnostics"
path = "examples/lsp_diagnostics.rs"
required-features = ["coding"]

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

[dependencies.aether-core]
version = "0.4.0"
optional = true
package = "aether-agent-core"

[dependencies.aether-lspd]
version = "0.1.12"
optional = true

[dependencies.aether-project]
version = "0.4.3"
optional = true

[dependencies.chrono]
version = "^0.4.44"
features = ["serde"]
optional = true

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

[dependencies.dom_smoothie]
version = "0.17"
optional = true

[dependencies.futures]
version = "^0.3.32"
optional = true

[dependencies.glob]
version = "0.3"
optional = true

[dependencies.globset]
version = "0.4"
optional = true

[dependencies.grep]
version = "0.4.1"
optional = true

[dependencies.htmd]
version = "0.5"
optional = true

[dependencies.ignore]
version = "0.4"
optional = true

[dependencies.llm]
version = "0.3.0"
optional = true
package = "aether-llm"

[dependencies.lsp-types]
version = "0.97"
optional = true

[dependencies.mcp_utils]
version = "0.5.0"
package = "aether-mcp-utils"

[dependencies.regex]
version = "^1.12.3"
optional = true

[dependencies.reqwest]
version = "^0.13.3"
features = [
    "json",
    "query",
    "rustls",
    "http2",
    "stream",
]
optional = true
default-features = false

[dependencies.rmcp]
version = "^1.6.0"
features = [
    "client",
    "server",
    "macros",
    "schemars",
    "auth",
    "elicitation",
    "transport-io",
]

[dependencies.schemars]
version = "^1.2.1"
features = ["derive"]

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

[dependencies.serde_json]
version = "1.0.149"

[dependencies.serde_yml]
version = "0.0.12"
optional = true

[dependencies.tempfile]
version = "3.27"
optional = true

[dependencies.thiserror]
version = "2.0"
optional = true

[dependencies.tokio]
version = "^1.52.2"
features = ["full"]

[dependencies.tracing]
version = "0.1.44"
optional = true

[dependencies.url]
version = "2.5"
optional = true

[dependencies.utils]
version = "0.2.3"
package = "aether-utils"

[dependencies.uuid]
version = "1.23"
features = ["v4"]
optional = true

[dev-dependencies.aether-lspd]
version = "0.1.12"
features = ["testing"]

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

[lints.clippy]
absolute_paths = "warn"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
must_use_candidate = "allow"
pub_underscore_fields = "allow"
return_self_not_must_use = "allow"

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

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