# 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 = "els"
version = "0.1.58"
authors = ["erg-lang team <moderation.erglang@gmail.com>"]
build = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "An Erg compiler frontend for IDEs, implements LSP."
homepage = "https://erg-lang.org/"
documentation = "http://docs.rs/els"
readme = "README.md"
license = "MIT OR Apache-2.0"
repository = "https://github.com/erg-lang/erg"

[lib]
name = "els"
path = "lib.rs"

[[bin]]
name = "els"
path = "main.rs"

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

[dependencies.erg_common]
version = "0.6.46"
features = ["els"]

[dependencies.erg_compiler]
version = "0.6.46"
features = ["els"]

[dependencies.erg_linter]
version = "0.6.46"
optional = true

[dependencies.lsp-types]
version = "0.93.2"
features = ["proposed"]

[dependencies.molc]
version = "0.3"

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

[dependencies.serde_json]
version = "1.0.85"

[dev-dependencies.erg_proc_macros]
version = "0.6.46"

[features]
backtrace = [
    "erg_common/backtrace",
    "molc/debug",
]
debug = [
    "erg_common/debug",
    "erg_compiler/debug",
    "molc/debug",
]
experimental = [
    "erg_common/experimental",
    "erg_compiler/experimental",
]
japanese = [
    "erg_common/japanese",
    "erg_compiler/japanese",
]
large_thread = [
    "erg_common/large_thread",
    "erg_compiler/large_thread",
]
lint = ["dep:erg_linter"]
pretty = [
    "erg_common/pretty",
    "erg_compiler/pretty",
]
py_compat = ["erg_compiler/py_compat"]
simplified_chinese = [
    "erg_common/simplified_chinese",
    "erg_compiler/simplified_chinese",
]
traditional_chinese = [
    "erg_common/traditional_chinese",
    "erg_compiler/traditional_chinese",
]
unicode = [
    "erg_common/unicode",
    "erg_compiler/unicode",
]

[target."cfg(unix)".dependencies.libc]
version = "0.2"

[target."cfg(windows)".dependencies.windows]
version = "0.58"
features = ["Win32_System_Threading"]
