[package]
edition = "2024"
name = "php-lsp"
version = "0.3.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A PHP Language Server Protocol implementation"
readme = "README.md"
license = "MIT"
repository = "https://github.com/jorgsowa/php-lsp"
[features]
dhat-heap = ["dep:dhat"]
[lib]
name = "php_lsp"
path = "src/lib.rs"
[[bin]]
name = "mem_index"
path = "src/bin/mem_index.rs"
[[bin]]
name = "php-lsp"
path = "src/main.rs"
[[test]]
name = "feature_code_actions"
path = "tests/feature_code_actions.rs"
[[test]]
name = "feature_completion"
path = "tests/feature_completion.rs"
[[test]]
name = "feature_configuration"
path = "tests/feature_configuration.rs"
[[test]]
name = "feature_definition"
path = "tests/feature_definition.rs"
[[test]]
name = "feature_diagnostics"
path = "tests/feature_diagnostics.rs"
[[test]]
name = "feature_doc_lifecycle"
path = "tests/feature_doc_lifecycle.rs"
[[test]]
name = "feature_document_link"
path = "tests/feature_document_link.rs"
[[test]]
name = "feature_file_ops"
path = "tests/feature_file_ops.rs"
[[test]]
name = "feature_folding"
path = "tests/feature_folding.rs"
[[test]]
name = "feature_formatting"
path = "tests/feature_formatting.rs"
[[test]]
name = "feature_hierarchy"
path = "tests/feature_hierarchy.rs"
[[test]]
name = "feature_highlight"
path = "tests/feature_highlight.rs"
[[test]]
name = "feature_hover"
path = "tests/feature_hover.rs"
[[test]]
name = "feature_incremental"
path = "tests/feature_incremental.rs"
[[test]]
name = "feature_inlay_hints"
path = "tests/feature_inlay_hints.rs"
[[test]]
name = "feature_references"
path = "tests/feature_references.rs"
[[test]]
name = "feature_rename"
path = "tests/feature_rename.rs"
[[test]]
name = "feature_semantic_tokens"
path = "tests/feature_semantic_tokens.rs"
[[test]]
name = "feature_server"
path = "tests/feature_server.rs"
[[test]]
name = "feature_signature_help"
path = "tests/feature_signature_help.rs"
[[test]]
name = "feature_symbols"
path = "tests/feature_symbols.rs"
[[test]]
name = "feature_symfony_call_hierarchy"
path = "tests/feature_symfony_call_hierarchy.rs"
[[test]]
name = "feature_symfony_demo"
path = "tests/feature_symfony_demo.rs"
[[test]]
name = "feature_symfony_hover"
path = "tests/feature_symfony_hover.rs"
[[test]]
name = "feature_symfony_implementation"
path = "tests/feature_symfony_implementation.rs"
[[test]]
name = "feature_symfony_navigation"
path = "tests/feature_symfony_navigation.rs"
[[test]]
name = "feature_symfony_references"
path = "tests/feature_symfony_references.rs"
[[test]]
name = "feature_symfony_search"
path = "tests/feature_symfony_search.rs"
[[test]]
name = "feature_symfony_semantic_tokens"
path = "tests/feature_symfony_semantic_tokens.rs"
[[test]]
name = "feature_symfony_type_hierarchy"
path = "tests/feature_symfony_type_hierarchy.rs"
[[test]]
name = "feature_workspace_folders"
path = "tests/feature_workspace_folders.rs"
[[test]]
name = "feature_workspace_scan"
path = "tests/feature_workspace_scan.rs"
[[bench]]
name = "iai_critical"
path = "benches/iai_critical.rs"
harness = false
[[bench]]
name = "index"
path = "benches/index.rs"
harness = false
[[bench]]
name = "parse"
path = "benches/parse.rs"
harness = false
[[bench]]
name = "requests"
path = "benches/requests.rs"
harness = false
[[bench]]
name = "semantic"
path = "benches/semantic.rs"
harness = false
[dependencies.bincode]
version = "2"
features = ["serde"]
[dependencies.blake3]
version = "1"
[dependencies.bumpalo]
version = "3"
features = ["collections"]
[dependencies.dashmap]
version = "6"
[dependencies.dhat]
version = "0.3"
optional = true
[dependencies.mimalloc]
version = "0.1"
default-features = false
[dependencies.mir-analyzer]
version = "0.10.0"
[dependencies.mir-codebase]
version = "0.10.0"
[dependencies.mir-issues]
version = "0.10.0"
[dependencies.mir-types]
version = "0.10.0"
[dependencies.php-ast]
version = "0.9.4"
[dependencies.php-rs-parser]
version = "0.9.4"
[dependencies.rayon]
version = "1"
[dependencies.salsa]
version = "0.26"
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"
[dependencies.tokio]
version = "1"
features = ["full"]
[dependencies.tower-lsp]
version = "0.20"
[dependencies.tracing]
version = "0.1"
[dependencies.tracing-subscriber]
version = "0.3"
features = [
"env-filter",
"json",
]
[dependencies.walkdir]
version = "2"
[dev-dependencies.criterion]
version = "0.8"
features = ["html_reports"]
[dev-dependencies.expect-test]
version = "1"
[dev-dependencies.iai-callgrind]
version = "0.16"
[dev-dependencies.indexmap]
version = "2"
[dev-dependencies.tempfile]
version = "3"