# 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.90"
name = "sqry-lang-javascript"
version = "11.0.4"
authors = ["Verivus Pty Ltd"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "JavaScript language plugin for sqry"
readme = false
license = "MIT"
repository = "https://github.com/verivus-oss/sqry"
resolver = "2"

[features]
default = ["has_relations"]
has_relations = []

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

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

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

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

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

[dependencies.anyhow]
version = "1.0"

[dependencies.once_cell]
version = "1.20"

[dependencies.sqry-core]
version = "11.0.4"

[dependencies.sqry-lang-support]
version = "11.0.4"

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

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

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

[dev-dependencies.approx]
version = "0.5"

[dev-dependencies.log]
version = "0.4"

[dev-dependencies.serde]
version = "1.0"
features = [
    "derive",
    "rc",
]

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