bonsai-ninja-lang-java 0.2.2

Java language adapter.
# 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"
rust-version = "1.88"
name = "bonsai-ninja-lang-java"
version = "0.2.2"
build = false
publish = ["crates-io"]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Java language adapter."
homepage = "https://github.com/gromhacks/bonsai-ninja"
readme = "README.md"
keywords = [
    "static-analysis",
    "code-intelligence",
    "security",
    "tree-sitter",
    "developer-tools",
]
categories = [
    "command-line-utilities",
    "development-tools",
]
license = "MIT"
repository = "https://github.com/gromhacks/bonsai-ninja"

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

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

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

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

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

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

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

[dependencies.bonsai_common]
version = "=0.2.2"
package = "bonsai-ninja-common"

[dependencies.bonsai_lang_api]
version = "=0.2.2"
package = "bonsai-ninja-lang-api"

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

[dev-dependencies]

[lints.clippy]
cast_lossless = "allow"
cast_possible_truncation = "allow"
cast_possible_wrap = "allow"
cast_precision_loss = "allow"
cast_sign_loss = "allow"
collapsible_match = "allow"
default_trait_access = "allow"
derivable_impls = "allow"
doc_markdown = "allow"
elidable_lifetime_names = "allow"
explicit_iter_loop = "allow"
format_in_format_args = "allow"
format_push_string = "allow"
if_not_else = "allow"
items_after_statements = "allow"
manual_find = "allow"
map_unwrap_or = "allow"
match_same_arms = "allow"
missing_errors_doc = "allow"
missing_fields_in_debug = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"
must_use_candidate = "allow"
needless_continue = "allow"
needless_lifetimes = "allow"
needless_pass_by_value = "allow"
needless_raw_string_hashes = "allow"
only_used_in_recursion = "allow"
option_if_let_else = "allow"
redundant_closure_for_method_calls = "allow"
redundant_else = "allow"
return_self_not_must_use = "allow"
similar_names = "allow"
single_match_else = "allow"
struct_excessive_bools = "allow"
too_many_lines = "allow"
uninlined_format_args = "allow"
unnecessary_wraps = "allow"

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

[lints.rust]
unreachable_pub = "deny"
unsafe_code = "forbid"

[lints.rust.rust_2018_idioms]
level = "warn"
priority = -1