[package]
edition = "2024"
name = "lspf"
version = "0.2.0"
authors = ["Yuming Chen"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A Rust framework for building extensible LSP language servers"
readme = "README.md"
license = "MIT OR Apache-2.0"
repository = "https://github.com/meymchen/lspf"
[lib]
name = "lspf"
path = "src/lib.rs"
[[test]]
name = "client_notifications"
path = "tests/client_notifications.rs"
[[test]]
name = "client_requests"
path = "tests/client_requests.rs"
[[test]]
name = "commands"
path = "tests/commands.rs"
[[test]]
name = "custom_notification"
path = "tests/custom_notification.rs"
[[test]]
name = "custom_request"
path = "tests/custom_request.rs"
[[test]]
name = "document_hooks"
path = "tests/document_hooks.rs"
[[test]]
name = "hover_completion"
path = "tests/hover_completion.rs"
[[test]]
name = "inbound_completion"
path = "tests/inbound_completion.rs"
[[test]]
name = "initialize_transaction"
path = "tests/initialize_transaction.rs"
[[test]]
name = "runtime_boundary"
path = "tests/runtime_boundary.rs"
[[test]]
name = "service_stack"
path = "tests/service_stack.rs"
[[test]]
name = "session_close"
path = "tests/session_close.rs"
[dependencies.bytes]
version = "1"
[dependencies.futures-util]
version = "0.3"
default-features = false
[dependencies.lsp-types]
version = "0.97"
[dependencies.ropey]
version = "1"
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"
features = ["raw_value"]
[dependencies.thiserror]
version = "2"
[dependencies.tokio]
version = "1"
features = [
"macros",
"rt",
"io-util",
"sync",
]
[dependencies.tokio-util]
version = "0.7"
features = [
"codec",
"rt",
]
[dependencies.tracing]
version = "0.1"
[dev-dependencies.tokio]
version = "1"
features = [
"macros",
"rt-multi-thread",
"process",
"io-util",
"time",
]
[dev-dependencies.tracing-subscriber]
version = "0.3"
features = ["env-filter"]
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.tokio]
version = "1"
features = [
"macros",
"rt",
"io-util",
"sync",
"rt-multi-thread",
"io-std",
]
[target.'cfg(target_arch = "wasm32")'.dependencies.wasm-bindgen-futures]
version = "0.4"