[package]
name = "emmylua_ls"
version = "0.25.1"
edition = "2024"
authors = ["CppCXY"]
description = "A language server for emmylua."
license = "MIT"
repository = "https://github.com/CppCXY/emmylua-analyzer-rust"
readme = "README.md"
keywords = ["emmylua", "doc", "lua"]
categories = ["development-tools"]

# Inherit workspace lints configuration
[lints]
workspace = true

[dependencies]
# local
emmylua_code_analysis.workspace = true
emmylua_formatter.workspace = true
emmylua_parser.workspace = true
emmylua_parser_desc.workspace = true

# external
lsp-server.workspace = true
tokio.workspace = true
serde.workspace = true
serde_json.workspace = true
lsp_types.workspace = true
log.workspace = true
fern.workspace = true
chrono.workspace = true
notify.workspace = true
tokio-util.workspace = true
rowan.workspace = true
walkdir.workspace = true
rust-i18n.workspace = true
glob.workspace = true
serde_yaml_ng.workspace = true
itertools.workspace = true
dirs.workspace = true
wax.workspace = true
internment.workspace = true
include_dir.workspace = true

[dependencies.clap]
workspace = true
optional = true

[dependencies.mimalloc]
workspace = true
optional = true

[dev-dependencies]
googletest.workspace = true


[[bin]]
name = "emmylua_ls"
required-features = ["cli"]

[features]
default = ["cli"]
cli = ["dep:clap", "dep:mimalloc"]
slow-tests = []
