-
Notifications
You must be signed in to change notification settings - Fork 5
/
Cargo.toml
74 lines (65 loc) · 2.32 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
[package]
name = "flux-lsp"
version = "0.8.40"
authors = ["Flux Developers <[email protected]>"]
edition = "2021"
license = "MIT"
description = "LSP support for the flux language"
repository = "https://github.com/influxdata/flux-lsp"
[package.metadata.wasm-pack.profile.release]
wasm-opt = ["-Oz"]
[profile.release]
opt-level = "z"
lto = true
[features]
default = ["cmd"]
strict = []
cmd = ["clap", "simplelog", "tokio", "tower-service", "lspower/runtime-tokio"]
wasm = ["futures", "js-sys", "fluxlang", "lspower/runtime-agnostic", "tower-service", "wasm-bindgen", "wasm-bindgen-futures"]
fluxlang = []
[lib]
crate-type = ["cdylib", "rlib"]
[[bin]]
name = "flux-lsp"
required-features = ["cmd"]
test = false
bench = false
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
async-std = { version = "1.11.0", features = ["attributes"], optional = true }
async-trait = "0.1.53"
clap = { version = "3.1.9", features = ["derive"], optional = true }
combinations = "0.1.0"
console_error_panic_hook = { version = "0.1.7", optional = true }
flux = { git = "https://github.com/influxdata/flux", tag= "v0.193.0", features = ["lsp"], default-features = false }
futures = { version = "0.3.21", optional = true }
Inflector = "0.11.4"
js-sys = { version = "0.3.57", optional = true }
lazy_static = "1.4.0"
line-col = "0.2.1"
log = "0.4.16"
lspower = { version = "1.5.0", default-features = false, optional = true }
serde = { version = "1.0.137", features = ["derive"] }
serde_json = "1.0.79"
simplelog = { version = "0.12.0", optional = true }
strum = "0.24.1"
strum_macros = "0.24.3"
tokio = { version = "1.20.4", features = ["io-std", "io-util", "macros", "net", "rt-multi-thread"], optional = true }
tower-service = { version = "0.3.1", optional = true }
wasm-bindgen = { version = "0.2.80", features = ["serde-serialize"], optional = true }
wasm-bindgen-futures = { version = "0.4.30", optional = true }
wasm-logger = "0.2.0"
web-sys = { version = "0.3.57", features = ["console"], optional = true }
itertools = "0.10.5"
[dev-dependencies]
async-std = { version = "1.11.0", features = ["attributes"] }
criterion = "0.3"
env_logger = "0.9"
expect-test = "1.2.2"
futures = "0.3.15"
pretty_assertions = "1.2.1"
wasm-bindgen-test = "0.3.30"
[[bench]]
name = "server"
path = "benches/server.rs"
harness = false