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

[features]
default = ["has_relations"]
has_relations = []
jvm-classpath = ["dep:sqry-classpath"]

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

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

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

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

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

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

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

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

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

[dependencies.anyhow]
version = "1.0"

[dependencies.log]
version = "0.4"

[dependencies.sqry-classpath]
version = "28.0.3"
optional = true

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

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

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

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

[dependencies.tree-sitter-java]
version = "0.23.5"

[dev-dependencies.criterion]
version = "0.8"

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

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

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

[dev-dependencies.tempfile]
version = "3.27"

[dev-dependencies.walkdir]
version = "2.5"

[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = [
    "cfg(disabled)",
    "cfg(fuzzing)",
]
