# 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 = "enya-analyzer"
version = "0.1.3"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Metrics instrumentation analyzer for source code"
readme = "README.md"
keywords = [
    "metrics",
    "instrumentation",
    "indexer",
    "tree-sitter",
]
categories = [
    "parsing",
    "development-tools",
]
license = "MIT"
repository = "https://github.com/meldrumlabs/enya"

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

[dependencies.enya-promql]
version = "0.1.3"

[dependencies.log]
version = "0.4"

[dependencies.parking_lot]
version = "0.12"
features = ["serde"]

[dependencies.rayon]
version = "1.10"

[dependencies.rustc-hash]
version = "2.0.0"

[dependencies.streaming-iterator]
version = "0.1"

[dependencies.tree-sitter]
version = "0.25"

[dependencies.tree-sitter-go]
version = "0.25"

[dependencies.tree-sitter-javascript]
version = "0.25"

[dependencies.tree-sitter-python]
version = "0.25"

[dependencies.tree-sitter-rust]
version = "0.24"

[dependencies.tree-sitter-typescript]
version = "0.23"

[dependencies.tree-sitter-yaml]
version = "0.7"

[dependencies.walkdir]
version = "2"

[dev-dependencies]

[lints.clippy]
disallowed_types = "deny"

[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = [
    "cfg(tokio_unstable)",
    "cfg(getrandom_backend)",
    'cfg(feature, values("serve"))',
]
