# 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 = "natural_syntax_ls" version = "0.0.1" description = "Natural language syntax highlighting." readme = "README.md" license = "MIT" repository = "https://github.com/SichangHe/natural_syntax" [[bin]] name = "natural-syntax-ls" path = "src/main.rs" [dependencies.anyhow] version = "1" [dependencies.drop_this] version = "0.0" [dependencies.natural_syntax] version = "0.0" [dependencies.num] version = "0.4" [dependencies.num-derive] version = "0.4" [dependencies.num-traits] version = "0.2" [dependencies.ropey] version = "1" features = [ "cr_lines", "simd", ] default-features = false [dependencies.serde] version = "1" features = ["derive"] [dependencies.serde_json] version = "1" [dependencies.tokio] version = "1" features = [ "macros", "rt-multi-thread", "io-std", "sync", ] [dependencies.tokio_gen_server] version = "0.5" [dependencies.tower-lsp] version = "0.20" [dependencies.tracing] version = "0.1" [dependencies.tracing-subscriber] version = "0.3" features = ["env-filter"] [dependencies.url] version = "2" [dev-dependencies.insta] version = "1.39" [dev-dependencies.tracing] version = "0.1" [dev-dependencies.tracing-subscriber] version = "0.3" features = ["env-filter"] [features] default = ["download-libtorch"] download-libtorch = ["natural_syntax/download-libtorch"]