summaryrefslogtreecommitdiff
path: root/support/texlab/Cargo.toml
blob: 56e90a2aa04529d20589fbd24762545f458dd54f (plain)
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
[package]
name = "texlab"
description = "LaTeX Language Server"
version = "2.2.0"
license = "GPL-3.0"
readme = "README.md"
authors = [
    "Eric Förster <eric.foerster@outlook.com>", 
    "Patrick Förster <patrick.foerster@outlook.de>",
]
edition = "2018"
homepage = "https://texlab.netlify.app"

[workspace]
members = ["crates/*"]

[lib]
doctest = false

[features]
default = [
    "citation",
    "server",
    "test",
]
citation = [
    "bibutils-sys",
    "citeproc",
    "citeproc-db",
    "citeproc-io",
    "csl",
    "fnv",
    "html2md",
    "lalrpop/lexer",
    "lalrpop-util",
]
server = [
    "bytes",
    "jsonrpc",
    "jsonrpc-derive",
    "nom",
    "tokio-util/codec",
]
test = [
    "server",
    "aovec",
]

[[bin]]
name = "texlab"
required-features = ["server"]

[[test]]
name = "integration"
required-features = ["test"]

[dependencies]
async-trait = "0.1"
aovec = { version = "1.1", optional = true }
base64 = "0.12"
bibutils-sys = { version = "0.1", optional = true }
byteorder = "1.3"
bytes = { version = "0.5", optional = true }
chashmap = "2.2"
cfg-if = "0.1"
citeproc = { git = "https://github.com/cormacrelf/citeproc-rs", rev = "68c7a7c16088b5d7751641ab37299ad064cdb221", optional = true }
citeproc-db = { git = "https://github.com/cormacrelf/citeproc-rs", rev = "68c7a7c16088b5d7751641ab37299ad064cdb221", optional = true }
citeproc-io = { git = "https://github.com/cormacrelf/citeproc-rs", rev = "68c7a7c16088b5d7751641ab37299ad064cdb221", optional = true }
csl = { git = "https://github.com/cormacrelf/citeproc-rs", rev = "68c7a7c16088b5d7751641ab37299ad064cdb221", optional = true }
fern = "0.6"
fnv = { version = "1.0", optional = true }
futures = "0.3"
fuzzy-matcher = "0.3"
html2md = { version = "0.2", optional = true }
image = "0.23"
itertools = "0.9"
jsonrpc = { path = "crates/jsonrpc", optional = true }
jsonrpc-derive = { path = "crates/jsonrpc_derive", optional = true }
lalrpop-util = { version = "0.18", optional = true }
log = "0.4"
lsp-types = { version = "0.74.1" }
nom = { version = "5.1", optional = true }
once_cell = "1.4"
petgraph = { version = "0.5", features = ["serde-1"] }
rayon = "1.3"
regex = "1.3"
serde = { version = "1.0", features = ["derive", "rc"] }
serde_json = "1.0"
serde_repr = "0.1"
structopt = "0.3"
tempfile = "3.1"
thiserror = "1.0"
titlecase = "1.1"
tokio = { version = "0.2", features = ["fs", "io-std", "macros", "process", "rt-core", "time"] }
tokio-util = { version = "0.3", optional = true }
url = "2.1"
uuid = { version = "0.8", features = ["v4"] }

[dev-dependencies]
criterion = "0.3"
indoc = "0.3"

[build-dependencies]
lalrpop = { version = "0.18", optional = true }

[profile.release]
lto = true

[[bench]]
name = "bench_main"
harness = false