lspf 0.3.0

A Rust framework for building extensible LSP language servers
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 = "lspf"
version = "0.3.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 = "catalog"
path = "tests/catalog.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 = "completion_resolve"
path = "tests/completion_resolve.rs"

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

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

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

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

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

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

[[test]]
name = "hierarchy_semantic_tokens"
path = "tests/hierarchy_semantic_tokens.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 = "lifecycle_hooks"
path = "tests/lifecycle_hooks.rs"

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

[[test]]
name = "resolve_prepare_families"
path = "tests/resolve_prepare_families.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"

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

[[test]]
name = "workspace_requests"
path = "tests/workspace_requests.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.tempfile]
version = "3"

[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",
    "fs",
]

[target.'cfg(target_arch = "wasm32")'.dependencies.wasm-bindgen-futures]
version = "0.4"