[package]
name = "astmap"
version = "0.0.2"
edition = "2021"
rust-version = "1.94"
license = "MIT"
description = "astmap — code structure index with transitive impact analysis for LLM coding tools"
repository = "https://github.com/wakita181009/astmap"

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

[[bin]]
name = "astmap"
path = "src/bin/astmap/main.rs"

[package.metadata.release]
tag-name = "v{{version}}"
pre-release-commit-message = "chore: release v{{version}}"
tag-message = "v{{version}}"
publish = true
push = true

[dependencies]
astmap-core = { version = "0.0.2", path = "../astmap-core" }
astmap-languages = { version = "0.0.2", path = "../astmap-languages" }

# Storage
rusqlite = { version = "0.39.0", features = ["bundled"] }

# Serialization
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"

# Error handling
thiserror = "2"
anyhow = "1"

# Git
git2 = { version = "0.20.4", features = ["vendored-openssl"] }

# Async
tokio = { version = "1", features = ["full"] }

# Logging
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter"] }

# File discovery (gitignore-aware walking)
ignore = "0.4"

# File watching
notify = "8.2.0"

# CLI
clap = { version = "4", features = ["derive"] }

# MCP Server
rmcp = { version = "1.3", features = ["server", "transport-io", "macros"] }
schemars = "1.2.1"
glob = "0.3.3"

[dev-dependencies]
tempfile = "3"
