# 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 = "2018"
name = "tower-lsp"
version = "0.16.0"
authors = ["Eyal Kalderon <ebkalderon@gmail.com>", "silvanshade <silvanshade@users.noreply.github.com>"]
exclude = ["./tower-lsp-macros"]
description = "Language Server Protocol implementation based on Tower"
homepage = "https://github.com/ebkalderon/tower-lsp"
documentation = "https://docs.rs/tower-lsp/"
readme = "README.md"
keywords = ["language-server", "lsp", "tower"]
categories = ["asynchronous"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/ebkalderon/tower-lsp"
[dependencies.async-codec-lite]
version = "0.0"
optional = true

[dependencies.async-trait]
version = "0.1"

[dependencies.auto_impl]
version = "0.5"

[dependencies.bytes]
version = "1.0"

[dependencies.dashmap]
version = "5.1"

[dependencies.futures]
version = "0.3"
features = ["std", "async-await"]
default-features = false

[dependencies.httparse]
version = "1.3.5"

[dependencies.log]
version = "0.4"

[dependencies.lsp-types]
version = "0.92"

[dependencies.memchr]
version = "2.4.1"

[dependencies.serde]
version = "1.0"
features = ["derive"]

[dependencies.serde_json]
version = "1.0"

[dependencies.tokio]
version = "1.17"
optional = true

[dependencies.tokio-util]
version = "0.7"
features = ["codec"]
optional = true

[dependencies.tower]
version = "0.4.12"
features = ["util"]
default-features = false

[dependencies.tower-lsp-macros]
version = "0.6"
[dev-dependencies.async-tungstenite]
version = "0.16"
features = ["tokio-runtime"]

[dev-dependencies.env_logger]
version = "0.9"

[dev-dependencies.tokio]
version = "1.17"
features = ["io-util", "io-std", "macros", "rt-multi-thread"]

[dev-dependencies.tokio-util]
version = "0.7"
features = ["compat"]

[dev-dependencies.ws_stream_tungstenite]
version = "0.7"
features = ["tokio_io"]

[features]
default = ["runtime-tokio"]
runtime-agnostic = ["async-codec-lite"]
runtime-tokio = ["tokio", "tokio-util"]
