codelore 0.27.2

CodeLore — Behavioral Code Analyzer CLI
[package]
name = "codelore"
version.workspace = true
edition.workspace = true
rust-version.workspace = true
license.workspace = true
repository.workspace = true
description = "CodeLore — Behavioral Code Analyzer CLI"
readme.workspace = true
keywords.workspace = true
categories.workspace = true

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

[lints]
workspace = true

[features]
default = []

# `spa` — propagate the lib's `spa` feature so the binary can dispatch
# `--format spa`. Released binaries ship with this enabled at the
# release-workflow level; `cargo install codelore` defaults to OFF so
# users without internet (or without the dashboard need) can install
# cleanly.
spa = ["codelore-lib/spa"]

[dependencies]
codelore-lib = { path = "../codelore-lib", version = "0.27.2" }
clap = { version = "4", features = ["derive"] }
# F-X3 (Tier 2 Day 12): shell completion generation for bash / zsh /
# fish / PowerShell / elvish. Derives the spec from the existing
# clap derive macros — no hand-maintained completion files.
clap_complete = "4"
anyhow = "1"
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter", "fmt"] }
# Plan 8 §7: dirs (cache root for diff worktrees), serde/serde_json
# (DiffOutput + --base-cache serialization), tempfile (worktree tempdirs).
dirs = "6"
serde = { version = "1", features = ["derive"] }
serde_json = "1"
tempfile = "3"
# `--age-time-now` flag parses YYYY-MM-DD into time::Date. Matches the
# codelore-lib date type so we don't bring in a second date crate.
time = { version = "0.3", features = ["macros", "parsing"] }
# MCP server (`codelore mcp`). stdio transport only; tokio rt-multi-thread
# required by rmcp's async runtime. schemars drives JSON Schema in tools/list.
# Versions pinned in [workspace.dependencies]; referenced here as workspace = true.
rmcp = { workspace = true }
tokio = { workspace = true }
schemars = { workspace = true }

[[test]]
name = "mcp_test"
required-features = []

[dev-dependencies]
assert_cmd = "2"
predicates = "3"
tempfile = "3"
walkdir = "2"
codelore-lib = { path = "../codelore-lib", version = "0.27.2", features = ["test-support"] }