php-lsp 0.5.0

A PHP Language Server Protocol implementation
Documentation
# 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 = "php-lsp"
version = "0.5.0"
build = false
exclude = ["docs/"]
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 = "analysis"
path = "tests/analysis.rs"

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

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

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

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

[[bench]]
name = "edit_latency"
path = "benches/edit_latency.rs"
harness = false

[[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.futures]
version = "0.3.31"

[dependencies.mimalloc]
version = "0.1"
default-features = false

[dependencies.mir-analyzer]
version = "0.26"

[dependencies.mir-codebase]
version = "0.26"

[dependencies.mir-issues]
version = "0.26"

[dependencies.mir-types]
version = "0.26"

[dependencies.php-ast]
version = "0.12"

[dependencies.php-rs-parser]
version = "0.12"

[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"