# 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 = "2021"
name = "dotrain-lsp"
version = "6.0.1-alpha.24"
description = "Rain language server protocol services"
homepage = "https://github.com/rainlanguage/dotrain"
license = "CAL-1.0"
repository = "https://github.com/rainlanguage/dotrain"

[package.metadata.docs.rs]
all-features = true

[lib]
crate-type = [
    "rlib",
    "cdylib",
]

[dependencies.alloy-primitives]
version = "0.7"

[dependencies.dotrain]
version = "6.0.1-alpha.24"

[dependencies.js-sys]
version = "0.3"
optional = true

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

[dependencies.once_cell]
version = "1"

[dependencies.regex]
version = "1.10"

[dependencies.serde-wasm-bindgen]
version = "0.6"
optional = true

[dependencies.tsify]
version = "0.4"
features = [
    "js",
    "wasm-bindgen",
]
optional = true
default-features = false

[dependencies.wasm-bindgen]
version = "0.2"
optional = true

[dependencies.wasm-bindgen-futures]
version = "0.4"
optional = true

[features]
js-api = [
    "dotrain/js-api",
    "dep:js-sys",
    "dep:wasm-bindgen",
    "dep:serde-wasm-bindgen",
    "dep:wasm-bindgen-futures",
    "dep:tsify",
]

[lints.clippy]
all = "warn"