# 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.95"
name = "talon-cli"
version = "0.4.1"
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
default-run = "talon"
description = "Talon CLI: hybrid retrieval over Obsidian vaults and markdown corpora, with grounded answers, MCP server, and agent-native output."
homepage = "https://github.com/seanmozeik/talon"
readme = "README.md"
keywords = [
    "obsidian",
    "search",
    "retrieval",
    "rag",
    "mcp",
]
categories = [
    "command-line-utilities",
    "text-processing",
]
license = "MIT"
repository = "https://github.com/seanmozeik/talon"

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

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

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

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

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

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

[dependencies.anstream]
version = "1.0.0"

[dependencies.anstyle]
version = "1.0.14"

[dependencies.clap]
version = "4.6"
features = [
    "derive",
    "color",
    "error-context",
]

[dependencies.clap_complete]
version = "4.6"

[dependencies.clap_complete_nushell]
version = "4.6"

[dependencies.color-eyre]
version = "0.6.5"

[dependencies.dirs]
version = "6.0.0"

[dependencies.eyre]
version = "0.6.12"

[dependencies.fs-err]
version = "3.3.0"

[dependencies.indicatif]
version = "0.18.4"

[dependencies.notify-debouncer-mini]
version = "0.7.0"

[dependencies.rattles]
version = "0.3.1"

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

[dependencies.serde_json]
version = "1.0.145"

[dependencies.talon-core]
version = "0.4.1"

[dependencies.terminal_size]
version = "0.4.1"

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

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

[dependencies.toml]
version = "0.9.8"

[dependencies.tracing]
version = "0.1.41"

[dependencies.tracing-subscriber]
version = "0.3.20"
features = ["env-filter"]

[dependencies.windows-sys]
version = "0.61.2"
features = ["Win32_System_Console"]

[dev-dependencies.assert_cmd]
version = "2.0.17"

[dev-dependencies.insta]
version = "1.43.1"

[dev-dependencies.predicates]
version = "3.1.3"

[dev-dependencies.serde_json]
version = "1.0.145"

[lints.clippy]
dbg_macro = "deny"
expect_used = "warn"
print_stdout = "warn"
todo = "warn"
unwrap_used = "deny"

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

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

[lints.clippy.correctness]
level = "deny"
priority = -1

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

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

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

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

[lints.clippy.suspicious]
level = "deny"
priority = -1

[lints.rust]
missing_debug_implementations = "warn"
unsafe_code = "deny"
unused_must_use = "deny"

[lints.rustdoc]
broken_intra_doc_links = "deny"
private_intra_doc_links = "warn"
