Use workspace dependencies everywhere

This commit is contained in:
Patrick Förster 2025-11-02 21:06:37 +01:00
parent 20ab73489b
commit 8a2399472c
11 changed files with 49 additions and 25 deletions

View file

@ -14,25 +14,49 @@ rust-version = "1.89"
[workspace.dependencies]
anyhow = "1.0.98"
bstr = "1.12.0"
chrono = { version = "0.4.41", default-features = false }
clap = "4.5.40"
criterion = "0.5.1"
crossbeam-channel = "0.5.15"
dirs = "6.0.0"
encoding_rs = "0.8.35"
encoding_rs_io = "0.1.7"
expect-test = "1.5.1"
fern = "0.7.1"
flate2 = "1.1.2"
human_name = "2.0.4"
isocountry = "0.3.2"
itertools = "0.13.0"
libc = "0.2.175"
log = "0.4.27"
logos = "0.15.0"
lsp-server = "0.7.9"
lsp-types = "0.97.0"
multimap = "0.10.1"
notify = "8.0.0"
notify-debouncer-full = "0.5.0"
once_cell = "1.21.3"
parking_lot = "0.12.4"
pathdiff = "0.2.3"
percent-encoding = "2.3.0"
rayon = "1.10.0"
regex = "1.11.1"
rowan = "0.15.16"
rustc-hash = "2.1.1"
serde = { version = "1.0.219", features = ["derive"] }
serde = "1.0.219"
serde_json = "1.0.143"
serde_regex = "1.1.0"
serde_repr = "0.1.20"
shellexpand = "3.1.1"
tempfile = "3.19.1"
thiserror = "2.0.16"
threadpool = "1.8.1"
titlecase = "3.6.0"
uds_windows = "1.1.0"
unicode-normalization = "0.1.24"
url = "2.5.4"
versions = "6.3.2"
[profile.release]
lto = "thin"

View file

@ -17,7 +17,7 @@ notify-debouncer-full.workspace = true
notify.workspace = true
once_cell.workspace = true
parser = { path = "../parser" }
percent-encoding = "2.3.0"
percent-encoding.workspace = true
regex.workspace = true
rowan.workspace = true
rustc-hash.workspace = true

View file

@ -7,8 +7,8 @@ edition.workspace = true
rust-version.workspace = true
[dependencies]
chrono = { version = "0.4.41", default-features = false, features = ["std"] }
human_name = "2.0.4"
chrono = { workspace = true, features = ["std"] }
human_name.workspace = true
itertools.workspace = true
rowan.workspace = true
rustc-hash.workspace = true

View file

@ -9,7 +9,7 @@ rust-version.workspace = true
[dependencies]
bibtex-utils = { path = "../bibtex-utils" }
base-db = { path = "../base-db" }
isocountry = "0.3.2"
isocountry.workspace = true
itertools.workspace = true
rowan.workspace = true
rustc-hash.workspace = true

View file

@ -9,15 +9,15 @@ rust-version.workspace = true
[dependencies]
anyhow.workspace = true
base-db = { path = "../base-db" }
bstr = "1.12.0"
bstr.workspace = true
crossbeam-channel.workspace = true
itertools.workspace = true
libc = "0.2.175"
libc.workspace = true
log.workspace = true
rowan.workspace = true
rustc-hash.workspace = true
syntax = { path = "../syntax" }
thiserror = "2.0.16"
thiserror.workspace = true
url.workspace = true
[dev-dependencies]

View file

@ -8,7 +8,7 @@ rust-version.workspace = true
[dependencies]
base-db = { path = "../base-db" }
flate2 = "1.1.2"
flate2.workspace = true
itertools.workspace = true
once_cell.workspace = true
rustc-hash.workspace = true

View file

@ -11,7 +11,7 @@ base-db = { path = "../base-db" }
completion-data = { path = "../completion-data" }
fuzzy-matcher = { version = "0.3.7", features = ["compact"] }
line-index = { path = "../line-index" }
rayon = "1.10.0"
rayon.workspace = true
rowan.workspace = true
rustc-hash.workspace = true
syntax = { path = "../syntax" }

View file

@ -8,12 +8,12 @@ rust-version.workspace = true
[dependencies]
base-db = { path = "../base-db" }
encoding_rs = "0.8.35"
encoding_rs_io = "0.1.7"
encoding_rs.workspace = true
encoding_rs_io.workspace = true
itertools.workspace = true
line-index = { path = "../line-index" }
log.workspace = true
multimap = "0.10.1"
multimap.workspace = true
once_cell.workspace = true
regex.workspace = true
rowan.workspace = true

View file

@ -12,7 +12,7 @@ dirs.workspace = true
serde.workspace = true
serde_json.workspace = true
log.workspace = true
uds_windows = "1.1.0"
uds_windows.workspace = true
[lib]
doctest = false

View file

@ -9,16 +9,16 @@ rust-version.workspace = true
[dependencies]
distro = { path = "../distro" }
log.workspace = true
logos = "0.15.0"
logos.workspace = true
once_cell.workspace = true
pathdiff = "0.2.3"
pathdiff.workspace = true
regex.workspace = true
rowan.workspace = true
rustc-hash.workspace = true
shellexpand.workspace = true
syntax = { path = "../syntax" }
tempfile.workspace = true
versions = "6.3.2"
versions.workspace = true
[dev-dependencies]
expect-test.workspace = true

View file

@ -26,7 +26,7 @@ anyhow.workspace = true
base-db = { path = "../base-db" }
bibfmt = { path = "../bibfmt" }
citeproc = { path = "../citeproc" }
clap = { version = "4.5.40", features = ["derive"] }
clap = { workspace = true, features = ["derive"] }
commands = { path = "../commands" }
completion = { path = "../completion" }
completion-data = { path = "../completion-data" }
@ -34,7 +34,7 @@ crossbeam-channel.workspace = true
definition = { path = "../definition" }
diagnostics = { path = "../diagnostics" }
distro = { path = "../distro" }
fern = "0.7.1"
fern.workspace = true
folding = { path = "../folding" }
highlights = { path = "../highlights" }
hover = { path = "../hover" }
@ -43,11 +43,11 @@ ipc = { path = "../ipc" }
line-index = { path = "../line-index" }
links = { path = "../links" }
log.workspace = true
lsp-server = "0.7.9"
lsp-types = "0.97.0"
lsp-server.workspace = true
lsp-types.workspace = true
notify-debouncer-full.workspace = true
notify.workspace = true
parking_lot = "0.12.4"
parking_lot.workspace = true
parser = { path = "../parser" }
references = { path = "../references" }
regex.workspace = true
@ -55,13 +55,13 @@ rename = { path = "../rename" }
rowan.workspace = true
rustc-hash.workspace = true
serde_json.workspace = true
serde_regex = "1.1.0"
serde_repr = "0.1.20"
serde_regex.workspace = true
serde_repr.workspace = true
serde.workspace = true
symbols = { path = "../symbols" }
syntax = { path = "../syntax" }
tempfile.workspace = true
threadpool = "1.8.1"
threadpool.workspace = true
titlecase.workspace = true
url.workspace = true