# 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 = "2021"
name = "scan_crate"
version = "0.1.0-alpha.2"
authors = ["daniel@nos.social"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Fast regex search through Rust crate source code - supports crates.io, GitHub repos, and local paths"
homepage = "https://github.com/verse-pbc/scan_crate"
readme = "README.md"
keywords = [
    "mcp",
    "code-analysis",
    "ripgrep",
    "crates",
    "search",
]
categories = [
    "development-tools",
    "command-line-utilities",
]
license = "MIT"
repository = "https://github.com/verse-pbc/scan_crate"

[features]
default = ["mcp"]
mcp = [
    "dep:rmcp",
    "dep:schemars",
]

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

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

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

[dependencies.anyhow]
version = "1.0.79"

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

[dependencies.cargo_metadata]
version = "0.18.1"

[dependencies.clap]
version = "4.5.13"
features = ["derive"]

[dependencies.colored]
version = "2"

[dependencies.crates_io_api]
version = "=0.11.0"

[dependencies.dirs]
version = "5"

[dependencies.flate2]
version = "1.0"
features = ["zlib"]
default-features = false

[dependencies.futures]
version = "0.3"

[dependencies.glob]
version = "0.3"

[dependencies.log]
version = "0.4"

[dependencies.regex]
version = "1"

[dependencies.rmcp]
version = "0.1.5"
features = [
    "transport-io",
    "server",
    "macros",
]
optional = true

[dependencies.rmcp-macros]
version = "0.1.5"

[dependencies.schemars]
version = "0.8"
optional = true

[dependencies.semver]
version = "1.0.21"

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

[dependencies.serde_json]
version = "1.0.108"

[dependencies.simplelog]
version = "0.12"

[dependencies.tar]
version = "0.4"

[dependencies.tempfile]
version = "3"

[dependencies.thiserror]
version = "1.0"

[dependencies.tokio]
version = "1"
features = ["full"]

[dependencies.toml]
version = "0.8"

[dependencies.tracing]
version = "0.1"

[dependencies.tracing-subscriber]
version = "0.3"
features = [
    "fmt",
    "env-filter",
    "json",
]

[dependencies.walkdir]
version = "2"

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

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