use a workspace

This commit is contained in:
Emil Gardström
2024-04-02 12:19:42 +02:00
parent 328a3b2648
commit c7c92a08d2
7 changed files with 566 additions and 1615 deletions

1328
ic10lsp_wasm/Cargo.lock generated

File diff suppressed because it is too large Load Diff

View File

@@ -1,7 +1,7 @@
[package]
name = "ic10lsp_wasm"
version = "0.1.0"
edition = "2021"
version.workspace = true
edition.workspace = true
# [features]
# default = ["tower-lsp/runtime-agnostic"]
@@ -13,21 +13,17 @@ crate-type = ["cdylib", "rlib"]
console_error_panic_hook = "0.1.7"
futures = "0.3.21"
js-sys = "0.3.69"
web-sys = {version = "0.3.69", features = ["WritableStream", "console"]}
web-sys = { version = "0.3.69", features = ["WritableStream", "console"] }
tokio = { version = "1.26.0", features = ["sync"] }
tower-lsp = { version = "0.20.0", default-features = false, features = ["runtime-agnostic"]}
tower-lsp = { version = "0.20.0", default-features = false, features = [
"runtime-agnostic",
] }
# tree-sitter = { version = "0.9.0", package = "tree-sitter-facade" }
wasm-bindgen = "0.2.81"
wasm-bindgen-futures = { version = "0.4.30", features = ["futures-core-03-stream"] }
wasm-bindgen-futures = { version = "0.4.30", features = [
"futures-core-03-stream",
] }
wasm-streams = "0.4"
# web-tree-sitter-sys = "1.3"
ic10lsp = { git = "https://github.com/Ryex/ic10lsp.git", branch = "wasm" }
# ic10lsp = { path = "../../ic10lsp" }
[profile.release]
# Tell `rustc` to optimize for small code size.
opt-level = "s"
lto = true
[build]
target = "wasm32-unknown-unknown"