# 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.88"
name = "loomweave-mcp"
version = "1.2.1"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Loomweave MCP server: exposes the code-archaeology graph to consult-mode LLM agents."
readme = false
license = "MIT"
repository = "https://github.com/foundryside-dev/loomweave"

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

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

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

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

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

[dependencies.blake3]
version = "1.8.5"

[dependencies.loomweave-core]
version = "1.2.1"

[dependencies.loomweave-federation]
version = "1.2.1"

[dependencies.loomweave-storage]
version = "1.2.1"

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

[dependencies.rusqlite]
version = "0.31"
features = [
    "bundled",
    "backup",
]

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

[dependencies.serde_json]
version = "1"
features = ["raw_value"]

[dependencies.serde_norway]
version = "0.9.42"

[dependencies.thiserror]
version = "1"

[dependencies.time]
version = "0.3"
features = [
    "formatting",
    "macros",
    "parsing",
]

[dependencies.tokio]
version = "1"
features = [
    "rt-multi-thread",
    "macros",
    "net",
    "sync",
    "time",
]

[dependencies.tracing]
version = "0.1"

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

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

[target."cfg(unix)".dependencies.nix]
version = "0.28"
features = [
    "resource",
    "signal",
]
default-features = false

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

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

[lints.rust]
unsafe_code = "deny"
