# 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"
name = "emmylua_parser"
version = "0.25.0"
authors = ["CppCXY"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A parser for EmmyLua and luals"
readme = "README.md"
keywords = [
    "emmylua",
    "luals",
    "parser",
    "lua",
]
categories = [
    "development-tools",
    "parsing",
]
license = "MIT"
repository = "https://github.com/CppCXY/emmylua-analyzer-rust"
resolver = "2"

[package.metadata.i18n]
available-locales = [
    "en",
    "zh_CN",
    "zh_HK",
]
default-locale = "en"

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

[dependencies.rowan]
version = "0.16.1"

[dependencies.rust-i18n]
version = "3"

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

[lints.clippy]
approx_constant = "allow"
bool_assert_comparison = "allow"
box_collection = "allow"
clone_on_copy = "allow"
cognitive_complexity = "allow"
collapsible_if = "allow"
collapsible_match = "allow"
enum_variant_names = "allow"
let_and_return = "allow"
let_unit_value = "allow"
manual_let_else = "allow"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
module_inception = "allow"
needless_borrow = "allow"
new_without_default = "allow"
single_component_path_imports = "allow"
too_many_arguments = "allow"
type_complexity = "allow"
undocumented_unsafe_blocks = "allow"
wrong_self_convention = "allow"
