-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
74 lines (67 loc) · 1.9 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
[workspace]
members = [".", "mdbook_incremental_preview"]
[workspace.package]
edition = "2021"
license = "MIT"
repository = "https://github.com/SichangHe/mdbook_ls"
[workspace.dependencies]
anyhow = "1"
clap = { version = "4", features = ["derive"] }
drop_this = { version = "0.0", features = ["tokio"] }
futures-util = "0.3"
handlebars = "6"
ignore = "0.4"
mdbook = { package = "mdbook_fork4ls", version = "0.4.41", features = [
"search",
], default-features = false }
mdbook_incremental_preview = { path = "mdbook_incremental_preview", version = "0.0" }
notify = "6"
notify-debouncer-mini = "0.4"
once_cell = "1"
opener = "0.7"
pathdiff = "0.2"
regex = "1"
serde_json = "1"
tempfile = "3"
tokio = { version = "1", features = ["macros", "rt-multi-thread", "time"] }
tokio_gen_server = "0.4"
tokio_two_join_set = "0.0"
tokio-util = "0.7"
toml = "=0.5.11" # Do not update, see https://github.com/rust-lang/mdBook/issues/2037
tower-lsp = "0.20"
tracing = { version = "0.1", default-features = false }
tracing-subscriber = { version = "0.3", features = [
"ansi",
"env-filter",
"fmt",
"smallvec",
"tracing-log",
], default-features = false }
warp = { version = "0.3", default-features = false, features = ["websocket"] }
[package]
name = "mdbook_ls"
version = "0.0.3"
edition.workspace = true
description = "mdBook Language Server."
license.workspace = true
repository.workspace = true
[dependencies]
anyhow.workspace = true
clap = { workspace = true, optional = true }
drop_this.workspace = true
mdbook_incremental_preview.workspace = true
serde_json.workspace = true
tokio = { workspace = true, features = ["io-std"] }
tokio_gen_server.workspace = true
tower-lsp.workspace = true
tracing.workspace = true
tracing-subscriber.workspace = true
[features]
default = ["build-binary"]
build-binary = ["dep:clap"]
[[bin]]
name = "mdbook-ls"
path = "src/main.rs"
required-features = ["build-binary"]
[profile.release]
lto = true