[package] name = "sway-lsp" version.workspace = true description = "LSP server for Sway." authors.workspace = true edition.workspace = true homepage.workspace = true license.workspace = true repository.workspace = true [dependencies] anyhow.workspace = true crossbeam-channel.workspace = true dashmap.workspace = true fd-lock.workspace = true forc-pkg.workspace = true forc-tracing.workspace = true forc-util.workspace = true indexmap = { workspace = true, features = ["rayon"] } lsp-types = { workspace = true, features = ["proposed"] } notify.workspace = true notify-debouncer-mini.workspace = true parking_lot.workspace = true proc-macro2.workspace = true quote.workspace = true rayon.workspace = true rayon-cond.workspace = true serde = { workspace = true, features = ["derive"] } serde_json.workspace = true sway-ast.workspace = true sway-core.workspace = true sway-error.workspace = true sway-features.workspace = true sway-parse.workspace = true sway-types.workspace = true sway-utils.workspace = true swayfmt.workspace = true syn = { workspace = true, features = ["full"] } tempfile.workspace = true thiserror.workspace = true tokio = { workspace = true, features = [ "fs", "io-std", "io-util", "macros", "net", "rt-multi-thread", "sync", "time", ] } toml_edit.workspace = true tower-lsp = { workspace = true, features = ["proposed"] } tracing.workspace = true urlencoding.workspace = true [dev-dependencies] assert-json-diff = "2.0" codspeed-criterion-compat = "2.6.0" criterion = "0.5" dirs = "4.0" futures = { version = "0.3", default-features = false, features = [ "std", "async-await", ] } pretty_assertions = "1.4.0" rand = "0.8" regex = "^1.10.2" sway-lsp-test-utils = { path = "tests/utils" } tikv-jemallocator = "0.6" tower = { version = "0.4.12", default-features = false, features = ["util"] } [[bench]] name = "bench_main" harness = false [lib] bench = false [lints.clippy] iter_over_hash_type = "deny"