Repository navigation
Expand file tree
/
Copy pathCargo.toml
More file actions
49 lines (47 loc) · 2.16 KB
/
Copy pathCargo.toml
File metadata and controls
49 lines (47 loc) · 2.16 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
[workspace]
resolver = "2"
members = [
"crates/*",
"tools/*"
]
# Every entry here is used by at least one crate. The table was inherited from the Lua project this server's shell
# came from and carried twenty crates nothing referenced (`walkdir`, `dirs`, `tera`, `schemars`,
# `internment`, `toml_edit`, …); they are gone, and an entry that no `Cargo.toml` names is a dependency a reader
# has to check rather than trust.
[workspace.dependencies]
# local
cpp_parser = { path = "crates/cpp_parser", version = "0.4.0" }
cpp_formatter = { path = "crates/cpp_formatter", version = "0.4.0" }
cpp_code_analysis = { path = "crates/cpp_code_analysis", version = "0.4.0" }
# Named by `tools/inspect` only: the hover card is the server's rendering, and a tool asking the analysis instead would
# answer a different question from the one an editor asks.
cpp_ls = { path = "crates/cpp_ls", version = "0.4.0" }
# external
lsp-server = "0.10.0"
lsp_types = { version = "0.1.0", package = "emmy_lsp_types" }
tokio = { version = "1.53", features = ["full"] }
tokio-util = "0.7.19"
serde = { version = "1.0.229", features = ["derive"] }
serde_json = "1.0.151"
rowan = { version = "0.17.0" }
glob = "0.3"
notify = "8.2"
# `.cppls.toml` is a file a user writes by hand: it gets a real TOML parser, not a subset that silently ignores
# what it cannot read. See `crates/cpp_code_analysis/src/project/config.rs`.
toml = "0.8"
percent-encoding = "2.3"
log = "0.4.33"
fern = "0.7.1"
chrono = "0.4.45"
# **The cache is one embedded database, not 1 800 files** — see `docs/refactor-cache-and-startup.md`.
# Pure Rust, single file, MVCC, ordered keys: reading does not take the lock writing takes, and a
# range delete is how a generation is collected.
redb = "4.4.0"
# Compresses the summaries and the renderings. Level 3 rather than 9: these are small blobs read on
# the interactive path, and the difference measured at 9 was bytes we do not have (0.6 % on a summary).
zstd = "0.13"
clap = { version = "4.6.1", features = ["derive", "wrap_help"] }
# The parser's own error messages are localized (`t!` in its grammar rules); this is the parser's dependency and
# not the server's.
rust-i18n = "3"
unicode-ident = "1.0.26"