-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathCargo.toml
More file actions
173 lines (157 loc) · 4.45 KB
/
Copy pathCargo.toml
File metadata and controls
173 lines (157 loc) · 4.45 KB
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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
[package]
name = "vide"
version = "1.3.0-beta.1"
edition = "2024"
authors = ["roifewu <roifewu@gmail.com>", "hongjr03 <hongjr03@gmail.com>"]
repository = "https://github.com/pascal-lab/vide"
keywords = ["lsp", "language-server", "ide", "verilog", "system-verilog"]
categories = ["development-tools"]
license = "MIT"
readme = "README.md"
description = "Language server for Verilog and System-Verilog"
[workspace]
members = [
".",
"crates/base-db",
"crates/hir-def",
"crates/hir-semantics",
"crates/hir-ty",
"crates/ide",
"crates/preproc",
"crates/preproc-expand",
"crates/project-model",
"crates/slang-sys",
"crates/syntax",
"crates/user-config",
"crates/utils",
"crates/vfs",
"crates/vide-lsp-runtime",
"crates/vide-lsp-wasm",
"crates/workspace-model",
"xtask",
]
[workspace.package]
edition = "2024"
[dependencies]
base-db.workspace = true
hir-def.workspace = true
ide.workspace = true
preproc-expand.workspace = true
project-model.workspace = true
syntax.workspace = true
user-config.workspace = true
utils.workspace = true
vfs.workspace = true
always-assert.workspace = true
anyhow.workspace = true
clap.workspace = true
const_format.workspace = true
crossbeam-channel.workspace = true
dunce.workspace = true
itertools.workspace = true
la-arena.workspace = true
lsp-server.workspace = true
lsp-types.workspace = true
vide-lsp-runtime.workspace = true
nohash-hasher.workspace = true
num_cpus.workspace = true
parking_lot = "0.12.1"
regex.workspace = true
rustc-hash.workspace = true
serde.workspace = true
serde_json.workspace = true
thiserror.workspace = true
toml.workspace = true
tracing-subscriber = { version = "0.3.17", default-features = false, features = [
"registry",
"fmt",
"tracing-log",
] }
tracing-chrome = { version = "0.7.2", optional = true }
tracing.workspace = true
triomphe.workspace = true
[workspace.dependencies]
base-db = { path = "./crates/base-db/", version = "0.0.0" }
hir-def = { path = "./crates/hir-def/", version = "0.0.0" }
hir-semantics = { path = "./crates/hir-semantics/", version = "0.0.0" }
hir-ty = { path = "./crates/hir-ty/", version = "0.0.0" }
ide = { path = "./crates/ide/", version = "0.0.0" }
preproc = { path = "./crates/preproc/", version = "0.0.0" }
preproc-expand = { path = "./crates/preproc-expand/", version = "0.0.0" }
project-model = { path = "./crates/project-model/", version = "0.0.0" }
syntax = { path = "./crates/syntax/", version = "0.0.0" }
user-config = { path = "./crates/user-config/", version = "0.0.0" }
utils = { path = "./crates/utils", version = "0.0.0" }
vfs = { path = "./crates/vfs", version = "0.0.0" }
workspace-model = { path = "./crates/workspace-model/", version = "0.0.0" }
parking_lot = "0.12.1"
always-assert = "0.1.3"
anyhow = "1.0.75"
bitflags = "2.9.0"
camino = "1.1.6"
clap = { version = "4.4.6", features = ["derive"] }
const_format = "0.2.31"
crossbeam-channel = "0.5.8"
dunce = "1.0.5"
either = "1.9.0"
globset = "0.4.16"
insta = "1.46.0"
itertools = "0.14.0"
la-arena = "0.3.1"
lsp-server = "0.7.6"
lsp-types = "0.95.0"
vide-lsp-runtime = { path = "./crates/vide-lsp-runtime/", version = "0.0.0" }
memchr = "2.7.1"
nohash-hasher = "0.2.0"
num_cpus = "1.16.0"
regex = "1.10.2"
rustc-hash = "2.1.1"
salsa = "0.28.2"
serde = { version = "1.0.189", features = ["derive"] }
serde_json = "1.0.107"
smallvec = { version = "1.10.0", features = [
"const_new",
"union",
"const_generics",
] }
smol_str = { version = "0.3.1", features = ["serde"] }
tempfile = "3.27.0"
text-size = "1.1.1"
thiserror = "2.0.0"
toml = "0.9.8"
toml_edit = "0.22.27"
toml_parser = "=1.1.2"
tracing = "0.1.37"
triomphe = "0.1.9"
winapi = { version = "0.3.9", features = ["processthreadsapi"] }
[profile.dev]
debug = 1
[profile.dev.package]
# These speed up local tests.
rustc-hash.opt-level = 3
smol_str.opt-level = 3
smallvec.opt-level = 3
text-size.opt-level = 3
serde.opt-level = 3
salsa.opt-level = 3
[profile.release]
incremental = true
debug = 0
strip = "symbols"
lto = "thin"
codegen-units = 1
[profile.release-lto]
inherits = "release"
lto = true
[target.'cfg(target_os = "windows")'.dependencies]
winapi.workspace = true
[dev-dependencies]
insta.workspace = true
utils = { workspace = true, features = ["test-support"] }
[features]
default = ["server-file-watcher"]
# Server OS file watching (off for wasm).
server-file-watcher = ["vfs/notify-backend"]
profile-trace = ["dep:tracing-chrome"]
[patch.crates-io]
lsp-types = { git = "https://github.com/snowsignal/lsp-types", rev = "0f58d628799182647f688908ba752a33f854fb3a" }