minor: Bump dependencies

This commit is contained in:
Lukas Wirth 2022-03-22 17:36:41 +01:00
parent ecf2c98859
commit 8e91bb7660
31 changed files with 191 additions and 183 deletions

32
Cargo.lock generated
View file

@ -171,9 +171,9 @@ checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd"
[[package]] [[package]]
name = "chalk-derive" name = "chalk-derive"
version = "0.79.0" version = "0.80.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "0b14364774396379d5c488e73d88e0a6d2b51acd0dac9c8359e2f84c58cf3a16" checksum = "d0001adf0cf12361e08b65e1898ea138f8f77d8f5177cbf29b6b3b3532252bd6"
dependencies = [ dependencies = [
"proc-macro2", "proc-macro2",
"quote", "quote",
@ -183,9 +183,9 @@ dependencies = [
[[package]] [[package]]
name = "chalk-ir" name = "chalk-ir"
version = "0.79.0" version = "0.80.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "cd571e8931d3075f562a2d460bfe3028a9c7b343876765cce95b6143a76b882e" checksum = "92d8a95548f23618fda86426e4304e563ec2bb7ba0216139f0748d63c107b5f1"
dependencies = [ dependencies = [
"bitflags", "bitflags",
"chalk-derive", "chalk-derive",
@ -194,9 +194,9 @@ dependencies = [
[[package]] [[package]]
name = "chalk-recursive" name = "chalk-recursive"
version = "0.79.0" version = "0.80.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "54ceedab35607f4680d02de80f8be005af0ad5c1dcfec56cfd849d33da5fe736" checksum = "759a811f4706f02304353db1b8b525fe6ec25648e004bf7e348139c86865240f"
dependencies = [ dependencies = [
"chalk-derive", "chalk-derive",
"chalk-ir", "chalk-ir",
@ -207,9 +207,9 @@ dependencies = [
[[package]] [[package]]
name = "chalk-solve" name = "chalk-solve"
version = "0.79.0" version = "0.80.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "9e31bb853cf921365759346db05d833f969e330462432bf38c9c2be1e78a9abd" checksum = "f37f492dacfafe2e21319b80827da2779932909bb392f0cc86b2bd5c07c1b4e1"
dependencies = [ dependencies = [
"chalk-derive", "chalk-derive",
"chalk-ir", "chalk-ir",
@ -249,9 +249,9 @@ dependencies = [
[[package]] [[package]]
name = "crossbeam-channel" name = "crossbeam-channel"
version = "0.5.3" version = "0.5.4"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "fdbfe11fe19ff083c48923cf179540e8cd0535903dc35e178a1fdeeb59aef51f" checksum = "5aaa7bd5fb665c6864b5f963dd9097905c54125909c7aa94c9e18507cdbe6c53"
dependencies = [ dependencies = [
"cfg-if", "cfg-if",
"crossbeam-utils", "crossbeam-utils",
@ -821,9 +821,9 @@ checksum = "e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646"
[[package]] [[package]]
name = "libc" name = "libc"
version = "0.2.120" version = "0.2.121"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ad5c14e80759d0939d013e6ca49930e59fc53dd8e5009132f76240c179380c09" checksum = "efaa7b300f3b5fe8eb6bf21ce3895e1751d9665086af2d64b42f19701015ff4f"
[[package]] [[package]]
name = "libloading" name = "libloading"
@ -880,9 +880,9 @@ dependencies = [
[[package]] [[package]]
name = "lsp-types" name = "lsp-types"
version = "0.92.0" version = "0.92.1"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e8a69d4142d51b208c9fc3cea68b1a7fcef30354e7aa6ccad07250fd8430fc76" checksum = "c79d4897790e8fd2550afa6d6125821edb5716e60e0e285046e070f0f6a06e0e"
dependencies = [ dependencies = [
"bitflags", "bitflags",
"serde", "serde",
@ -1283,9 +1283,9 @@ dependencies = [
[[package]] [[package]]
name = "quote" name = "quote"
version = "1.0.15" version = "1.0.16"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "864d3e96a899863136fc6e99f3d7cae289dafe43bf2c5ac19b70df7210c0a145" checksum = "b4af2ec4714533fcdf07e886f17025ace8b997b9ce51204ee69b6da831c3da57"
dependencies = [ dependencies = [
"proc-macro2", "proc-macro2",
] ]

View file

@ -17,10 +17,10 @@ tt = { path = "../tt", version = "0.0.0" }
[dev-dependencies] [dev-dependencies]
mbe = { path = "../mbe" } mbe = { path = "../mbe" }
syntax = { path = "../syntax" } syntax = { path = "../syntax" }
expect-test = "1.2.0-pre.1" expect-test = "1.2.2"
oorandom = "11" oorandom = "11.1.3"
# We depend on both individually instead of using `features = ["derive"]` to microoptimize the # We depend on both individually instead of using `features = ["derive"]` to microoptimize the
# build graph: if the feature was enabled, syn would be built early on in the graph if `smolstr` # build graph: if the feature was enabled, syn would be built early on in the graph if `smolstr`
# supports `arbitrary`. This way, we avoid feature unification. # supports `arbitrary`. This way, we avoid feature unification.
arbitrary = "1" arbitrary = "1.1.0"
derive_arbitrary = "1" derive_arbitrary = "1.1.0"

View file

@ -10,12 +10,12 @@ rust-version = "1.57"
doctest = false doctest = false
[dependencies] [dependencies]
crossbeam-channel = "0.5.0" crossbeam-channel = "0.5.4"
tracing = "0.1" tracing = "0.1.32"
cargo_metadata = "0.14" cargo_metadata = "0.14.2"
serde = { version = "1.0.106", features = ["derive"] } serde = { version = "1.0.136", features = ["derive"] }
serde_json = "1.0.48" serde_json = "1.0.79"
jod-thread = "0.1.1" jod-thread = "0.1.2"
toolchain = { path = "../toolchain", version = "0.0.0" } toolchain = { path = "../toolchain", version = "0.0.0" }
stdx = { path = "../stdx", version = "0.0.0" } stdx = { path = "../stdx", version = "0.0.0" }

View file

@ -11,11 +11,11 @@ doctest = false
[dependencies] [dependencies]
rustc-hash = "1.1.0" rustc-hash = "1.1.0"
either = "1.5.3" either = "1.6.1"
arrayvec = "0.7" arrayvec = "0.7.2"
itertools = "0.10.0" itertools = "0.10.3"
smallvec = "1.4.0" smallvec = "1.8.0"
once_cell = "1" once_cell = "1.10.0"
stdx = { path = "../stdx", version = "0.0.0" } stdx = { path = "../stdx", version = "0.0.0" }
syntax = { path = "../syntax", version = "0.0.0" } syntax = { path = "../syntax", version = "0.0.0" }

View file

@ -11,19 +11,19 @@ doctest = false
[dependencies] [dependencies]
cov-mark = "2.0.0-pre.1" cov-mark = "2.0.0-pre.1"
dashmap = { version = "5.0", features = ["raw-api"] } dashmap = { version = "5.2.0", features = ["raw-api"] }
lock_api = "0.4" lock_api = "0.4.6"
parking_lot = "0.12" parking_lot = "0.12.0"
tracing = "0.1" tracing = "0.1.32"
once_cell = "1.3.1" once_cell = "1.10.0"
rustc-hash = "1.1.0" rustc-hash = "1.1.0"
either = "1.5.3" either = "1.6.1"
anymap = "0.12.1" anymap = "0.12.1"
drop_bomb = "0.1.4" drop_bomb = "0.1.5"
fst = { version = "0.4", default-features = false } fst = { version = "0.4.7", default-features = false }
itertools = "0.10.0" itertools = "0.10.3"
indexmap = "1.7.0" indexmap = "1.8.0"
smallvec = "1.4.0" smallvec = "1.8.0"
arrayvec = "0.7.2" arrayvec = "0.7.2"
la-arena = { version = "0.3.0", path = "../../lib/arena" } la-arena = { version = "0.3.0", path = "../../lib/arena" }
@ -39,4 +39,4 @@ limit = { path = "../limit", version = "0.0.0" }
[dev-dependencies] [dev-dependencies]
test_utils = { path = "../test_utils" } test_utils = { path = "../test_utils" }
expect-test = "1.2.0-pre.1" expect-test = "1.2.2"

View file

@ -11,12 +11,12 @@ doctest = false
[dependencies] [dependencies]
cov-mark = "2.0.0-pre.1" cov-mark = "2.0.0-pre.1"
tracing = "0.1" tracing = "0.1.32"
either = "1.5.3" either = "1.6.1"
rustc-hash = "1.0.0" rustc-hash = "1.1.0"
la-arena = { version = "0.3.0", path = "../../lib/arena" } la-arena = { version = "0.3.0", path = "../../lib/arena" }
itertools = "0.10.0" itertools = "0.10.3"
hashbrown = { version = "0.12", features = [ hashbrown = { version = "0.12.0", features = [
"inline-more", "inline-more",
], default-features = false } ], default-features = false }
@ -29,4 +29,4 @@ mbe = { path = "../mbe", version = "0.0.0" }
limit = { path = "../limit", version = "0.0.0" } limit = { path = "../limit", version = "0.0.0" }
[dev-dependencies] [dev-dependencies]
expect-test = "1.2.0-pre.1" expect-test = "1.2.2"

View file

@ -11,18 +11,18 @@ doctest = false
[dependencies] [dependencies]
cov-mark = "2.0.0-pre.1" cov-mark = "2.0.0-pre.1"
itertools = "0.10.0" itertools = "0.10.3"
arrayvec = "0.7" arrayvec = "0.7.2"
smallvec = "1.2.0" smallvec = "1.8.0"
ena = "0.14.0" ena = "0.14.0"
tracing = "0.1" tracing = "0.1.32"
rustc-hash = "1.1.0" rustc-hash = "1.1.0"
scoped-tls = "1" scoped-tls = "1.0.0"
chalk-solve = { version = "0.79", default-features = false } chalk-solve = { version = "0.80.0", default-features = false }
chalk-ir = "0.79" chalk-ir = "0.80.0"
chalk-recursive = { version = "0.79", default-features = false } chalk-recursive = { version = "0.80.0", default-features = false }
la-arena = { version = "0.3.0", path = "../../lib/arena" } la-arena = { version = "0.3.0", path = "../../lib/arena" }
once_cell = { version = "1.5.0" } once_cell = "1.10.0"
typed-arena = "2.0.1" typed-arena = "2.0.1"
stdx = { path = "../stdx", version = "0.0.0" } stdx = { path = "../stdx", version = "0.0.0" }
@ -35,10 +35,10 @@ limit = { path = "../limit", version = "0.0.0" }
[dev-dependencies] [dev-dependencies]
test_utils = { path = "../test_utils" } test_utils = { path = "../test_utils" }
expect-test = "1.2.0-pre.1" expect-test = "1.2.2"
tracing = "0.1" tracing = "0.1.32"
tracing-subscriber = { version = "0.3", default-features = false, features = [ tracing-subscriber = { version = "0.3.9", default-features = false, features = [
"env-filter", "env-filter",
"registry", "registry",
] } ] }
tracing-tree = "0.2" tracing-tree = "0.2.0"

View file

@ -337,6 +337,10 @@ impl<'a> chalk_solve::RustIrDatabase<Interner> for ChalkContext<'a> {
hir_def::AdtId::UnionId(id) => self.db.union_data(id).name.to_string(), hir_def::AdtId::UnionId(id) => self.db.union_data(id).name.to_string(),
} }
} }
fn adt_size_align(&self, _id: chalk_ir::AdtId<Interner>) -> Arc<rust_ir::AdtSizeAlign> {
// FIXME
Arc::new(rust_ir::AdtSizeAlign::from_one_zst(false))
}
fn assoc_type_name(&self, assoc_ty_id: chalk_ir::AssocTypeId<Interner>) -> String { fn assoc_type_name(&self, assoc_ty_id: chalk_ir::AssocTypeId<Interner>) -> String {
let id = self.db.associated_ty_data(assoc_ty_id).name; let id = self.db.associated_ty_data(assoc_ty_id).name;
self.db.type_alias_data(id).name.to_string() self.db.type_alias_data(id).name.to_string()
@ -480,34 +484,38 @@ pub(crate) fn trait_datum_query(
fn well_known_trait_from_lang_attr(name: &str) -> Option<WellKnownTrait> { fn well_known_trait_from_lang_attr(name: &str) -> Option<WellKnownTrait> {
Some(match name { Some(match name {
"sized" => WellKnownTrait::Sized,
"copy" => WellKnownTrait::Copy,
"clone" => WellKnownTrait::Clone, "clone" => WellKnownTrait::Clone,
"drop" => WellKnownTrait::Drop,
"fn_once" => WellKnownTrait::FnOnce,
"fn_mut" => WellKnownTrait::FnMut,
"fn" => WellKnownTrait::Fn,
"unsize" => WellKnownTrait::Unsize,
"coerce_unsized" => WellKnownTrait::CoerceUnsized, "coerce_unsized" => WellKnownTrait::CoerceUnsized,
"copy" => WellKnownTrait::Copy,
"discriminant_kind" => WellKnownTrait::DiscriminantKind, "discriminant_kind" => WellKnownTrait::DiscriminantKind,
"dispatch_from_dyn" => WellKnownTrait::DispatchFromDyn,
"drop" => WellKnownTrait::Drop,
"fn" => WellKnownTrait::Fn,
"fn_mut" => WellKnownTrait::FnMut,
"fn_once" => WellKnownTrait::FnOnce,
"generator" => WellKnownTrait::Generator,
"sized" => WellKnownTrait::Sized,
"unpin" => WellKnownTrait::Unpin,
"unsize" => WellKnownTrait::Unsize,
_ => return None, _ => return None,
}) })
} }
fn lang_attr_from_well_known_trait(attr: WellKnownTrait) -> &'static str { fn lang_attr_from_well_known_trait(attr: WellKnownTrait) -> &'static str {
match attr { match attr {
WellKnownTrait::Sized => "sized",
WellKnownTrait::Copy => "copy",
WellKnownTrait::Clone => "clone", WellKnownTrait::Clone => "clone",
WellKnownTrait::Drop => "drop",
WellKnownTrait::FnOnce => "fn_once",
WellKnownTrait::FnMut => "fn_mut",
WellKnownTrait::Fn => "fn",
WellKnownTrait::Unsize => "unsize",
WellKnownTrait::Unpin => "unpin",
WellKnownTrait::CoerceUnsized => "coerce_unsized", WellKnownTrait::CoerceUnsized => "coerce_unsized",
WellKnownTrait::Copy => "copy",
WellKnownTrait::DiscriminantKind => "discriminant_kind", WellKnownTrait::DiscriminantKind => "discriminant_kind",
WellKnownTrait::DispatchFromDyn => "dispatch_from_dyn",
WellKnownTrait::Drop => "drop",
WellKnownTrait::Fn => "fn",
WellKnownTrait::FnMut => "fn_mut",
WellKnownTrait::FnOnce => "fn_once",
WellKnownTrait::Generator => "generator", WellKnownTrait::Generator => "generator",
WellKnownTrait::Sized => "sized",
WellKnownTrait::Unpin => "unpin",
WellKnownTrait::Unsize => "unsize",
} }
} }

View file

@ -11,15 +11,15 @@ doctest = false
[dependencies] [dependencies]
cov-mark = "2.0.0-pre.1" cov-mark = "2.0.0-pre.1"
crossbeam-channel = "0.5.0" crossbeam-channel = "0.5.4"
either = "1.5.3" either = "1.6.1"
itertools = "0.10.0" itertools = "0.10.3"
tracing = "0.1" tracing = "0.1.32"
rustc-hash = "1.1.0" rustc-hash = "1.1.0"
oorandom = "11.1.2" oorandom = "11.1.3"
pulldown-cmark-to-cmark = "10.0.0" pulldown-cmark-to-cmark = "10.0.1"
pulldown-cmark = { version = "0.9", default-features = false } pulldown-cmark = { version = "0.9.1", default-features = false }
url = "2.1.1" url = "2.2.2"
dot = "0.1.4" dot = "0.1.4"
stdx = { path = "../stdx", version = "0.0.0" } stdx = { path = "../stdx", version = "0.0.0" }
@ -39,4 +39,4 @@ hir = { path = "../hir", version = "0.0.0" }
[dev-dependencies] [dev-dependencies]
test_utils = { path = "../test_utils" } test_utils = { path = "../test_utils" }
expect-test = "1.2.0-pre.1" expect-test = "1.2.2"

View file

@ -12,7 +12,7 @@ doctest = false
[dependencies] [dependencies]
cov-mark = "2.0.0-pre.1" cov-mark = "2.0.0-pre.1"
rustc-hash = "1.1.0" rustc-hash = "1.1.0"
itertools = "0.10.0" itertools = "0.10.3"
either = "1.6.1" either = "1.6.1"
stdx = { path = "../stdx", version = "0.0.0" } stdx = { path = "../stdx", version = "0.0.0" }
@ -25,4 +25,4 @@ hir = { path = "../hir", version = "0.0.0" }
[dev-dependencies] [dev-dependencies]
test_utils = { path = "../test_utils" } test_utils = { path = "../test_utils" }
sourcegen = { path = "../sourcegen" } sourcegen = { path = "../sourcegen" }
expect-test = "1.2.0-pre.1" expect-test = "1.2.2"

View file

@ -11,11 +11,11 @@ doctest = false
[dependencies] [dependencies]
cov-mark = "2.0.0-pre.1" cov-mark = "2.0.0-pre.1"
itertools = "0.10.0" itertools = "0.10.3"
rustc-hash = "1.1.0" rustc-hash = "1.1.0"
either = "1.6.1" either = "1.6.1"
once_cell = "1.7" once_cell = "1.10.0"
smallvec = "1.4" smallvec = "1.8.0"
stdx = { path = "../stdx", version = "0.0.0" } stdx = { path = "../stdx", version = "0.0.0" }
syntax = { path = "../syntax", version = "0.0.0" } syntax = { path = "../syntax", version = "0.0.0" }
@ -29,6 +29,6 @@ profile = { path = "../profile", version = "0.0.0" }
hir = { path = "../hir", version = "0.0.0" } hir = { path = "../hir", version = "0.0.0" }
[dev-dependencies] [dev-dependencies]
expect-test = "1.2.0-pre.1" expect-test = "1.2.2"
test_utils = { path = "../test_utils" } test_utils = { path = "../test_utils" }

View file

@ -11,15 +11,15 @@ doctest = false
[dependencies] [dependencies]
cov-mark = "2.0.0-pre.1" cov-mark = "2.0.0-pre.1"
tracing = "0.1" tracing = "0.1.32"
rayon = "1.5.0" rayon = "1.5.1"
fst = { version = "0.4", default-features = false } fst = { version = "0.4.7", default-features = false }
rustc-hash = "1.1.0" rustc-hash = "1.1.0"
once_cell = "1.3.1" once_cell = "1.10.0"
either = "1.6.1" either = "1.6.1"
itertools = "0.10.0" itertools = "0.10.3"
arrayvec = "0.7" arrayvec = "0.7.2"
indexmap = "1.7" indexmap = "1.8.0"
stdx = { path = "../stdx", version = "0.0.0" } stdx = { path = "../stdx", version = "0.0.0" }
parser = { path = "../parser", version = "0.0.0" } parser = { path = "../parser", version = "0.0.0" }
@ -36,4 +36,4 @@ limit = { path = "../limit", version = "0.0.0" }
test_utils = { path = "../test_utils" } test_utils = { path = "../test_utils" }
sourcegen = { path = "../sourcegen" } sourcegen = { path = "../sourcegen" }
xshell = "0.2.1" xshell = "0.2.1"
expect-test = "1.2.0-pre.1" expect-test = "1.2.2"

View file

@ -11,9 +11,9 @@ doctest = false
[dependencies] [dependencies]
cov-mark = "2.0.0-pre.1" cov-mark = "2.0.0-pre.1"
itertools = "0.10.0" itertools = "0.10.3"
rustc-hash = "1.1.0" rustc-hash = "1.1.0"
either = "1.5.3" either = "1.6.1"
profile = { path = "../profile", version = "0.0.0" } profile = { path = "../profile", version = "0.0.0" }
stdx = { path = "../stdx", version = "0.0.0" } stdx = { path = "../stdx", version = "0.0.0" }
@ -24,7 +24,7 @@ hir = { path = "../hir", version = "0.0.0" }
ide_db = { path = "../ide_db", version = "0.0.0" } ide_db = { path = "../ide_db", version = "0.0.0" }
[dev-dependencies] [dev-dependencies]
expect-test = "1.2.0-pre.1" expect-test = "1.2.2"
test_utils = { path = "../test_utils" } test_utils = { path = "../test_utils" }
sourcegen = { path = "../sourcegen" } sourcegen = { path = "../sourcegen" }

View file

@ -13,7 +13,7 @@ doctest = false
[dependencies] [dependencies]
cov-mark = "2.0.0-pre.1" cov-mark = "2.0.0-pre.1"
rustc-hash = "1.1.0" rustc-hash = "1.1.0"
itertools = "0.10.0" itertools = "0.10.3"
text_edit = { path = "../text_edit", version = "0.0.0" } text_edit = { path = "../text_edit", version = "0.0.0" }
parser = { path = "../parser", version = "0.0.0" } parser = { path = "../parser", version = "0.0.0" }
@ -23,4 +23,4 @@ hir = { path = "../hir", version = "0.0.0" }
[dev-dependencies] [dev-dependencies]
test_utils = { path = "../test_utils" } test_utils = { path = "../test_utils" }
expect-test = "1.2.0-pre.1" expect-test = "1.2.2"

View file

@ -12,8 +12,8 @@ doctest = false
[dependencies] [dependencies]
cov-mark = "2.0.0-pre.1" cov-mark = "2.0.0-pre.1"
rustc-hash = "1.1.0" rustc-hash = "1.1.0"
smallvec = "1.2.0" smallvec = "1.8.0"
tracing = "0.1" tracing = "0.1.32"
syntax = { path = "../syntax", version = "0.0.0" } syntax = { path = "../syntax", version = "0.0.0" }
parser = { path = "../parser", version = "0.0.0" } parser = { path = "../parser", version = "0.0.0" }

View file

@ -10,11 +10,10 @@ rust-version = "1.57"
doctest = false doctest = false
[dependencies] [dependencies]
drop_bomb = "0.1.4" drop_bomb = "0.1.5"
rustc_lexer = { version = "725.0.0", package = "rustc-ap-rustc_lexer" } rustc_lexer = { version = "725.0.0", package = "rustc-ap-rustc_lexer" }
limit = { path = "../limit", version = "0.0.0" } limit = { path = "../limit", version = "0.0.0" }
[dev-dependencies] [dev-dependencies]
expect-test = "1.2" expect-test = "1.2.2"
sourcegen = { path = "../sourcegen" } sourcegen = { path = "../sourcegen" }

View file

@ -10,18 +10,18 @@ rust-version = "1.57"
doctest = false doctest = false
[dependencies] [dependencies]
object = { version = "0.28", default-features = false, features = [ object = { version = "0.28.3", default-features = false, features = [
"std", "std",
"read_core", "read_core",
"elf", "elf",
"macho", "macho",
"pe", "pe",
] } ] }
serde = { version = "1.0", features = ["derive"] } serde = { version = "1.0.136", features = ["derive"] }
serde_json = { version = "1.0", features = ["unbounded_depth"] } serde_json = { version = "1.0.79", features = ["unbounded_depth"] }
tracing = "0.1" tracing = "0.1.32"
memmap2 = "0.5" memmap2 = "0.5.3"
snap = "1.0" snap = "1.0.5"
paths = { path = "../paths", version = "0.0.0" } paths = { path = "../paths", version = "0.0.0" }
tt = { path = "../tt", version = "0.0.0" } tt = { path = "../tt", version = "0.0.0" }

View file

@ -10,15 +10,15 @@ rust-version = "1.57"
doctest = false doctest = false
[dependencies] [dependencies]
object = { version = "0.28", default-features = false, features = [ object = { version = "0.28.3", default-features = false, features = [
"std", "std",
"read_core", "read_core",
"elf", "elf",
"macho", "macho",
"pe", "pe",
] } ] }
libloading = "0.7.0" libloading = "0.7.3"
memmap2 = "0.5" memmap2 = "0.5.3"
tt = { path = "../tt", version = "0.0.0" } tt = { path = "../tt", version = "0.0.0" }
mbe = { path = "../mbe", version = "0.0.0" } mbe = { path = "../mbe", version = "0.0.0" }
@ -26,7 +26,7 @@ paths = { path = "../paths", version = "0.0.0" }
proc_macro_api = { path = "../proc_macro_api", version = "0.0.0" } proc_macro_api = { path = "../proc_macro_api", version = "0.0.0" }
[dev-dependencies] [dev-dependencies]
expect-test = "1.2.0-pre.1" expect-test = "1.2.2"
# used as proc macro test targets # used as proc macro test targets
proc_macro_test = { path = "../proc_macro_test" } proc_macro_test = { path = "../proc_macro_test" }

View file

@ -12,4 +12,4 @@ doctest = false
[build-dependencies] [build-dependencies]
proc_macro_test_impl = { path = "imp", version = "0.0.0" } proc_macro_test_impl = { path = "imp", version = "0.0.0" }
toolchain = { path = "../toolchain", version = "0.0.0" } toolchain = { path = "../toolchain", version = "0.0.0" }
cargo_metadata = "0.14" cargo_metadata = "0.14.2"

View file

@ -10,18 +10,18 @@ rust-version = "1.57"
doctest = false doctest = false
[dependencies] [dependencies]
once_cell = "1.3.1" once_cell = "1.10.0"
cfg-if = "1" cfg-if = "1.0.0"
libc = "0.2" libc = "0.2.121"
la-arena = { version = "0.3.0", path = "../../lib/arena" } la-arena = { version = "0.3.0", path = "../../lib/arena" }
countme = { version = "3.0", features = ["enable"] } countme = { version = "3.0.1", features = ["enable"] }
jemalloc-ctl = { version = "0.4.1", package = "tikv-jemalloc-ctl", optional = true } jemalloc-ctl = { version = "0.4.2", package = "tikv-jemalloc-ctl", optional = true }
[target.'cfg(target_os = "linux")'.dependencies] [target.'cfg(target_os = "linux")'.dependencies]
perf-event = "0.4" perf-event = "0.4.7"
[target.'cfg(windows)'.dependencies] [target.'cfg(windows)'.dependencies]
winapi = { version = "0.3.8", features = ["processthreadsapi", "psapi"] } winapi = { version = "0.3.9", features = ["processthreadsapi", "psapi"] }
[features] [features]
cpu_profiler = [] cpu_profiler = []

View file

@ -10,14 +10,14 @@ rust-version = "1.57"
doctest = false doctest = false
[dependencies] [dependencies]
tracing = "0.1" tracing = "0.1.32"
rustc-hash = "1.1.0" rustc-hash = "1.1.0"
cargo_metadata = "0.14" cargo_metadata = "0.14.2"
semver = "1" semver = "1.0.6"
serde = { version = "1.0.106", features = ["derive"] } serde = { version = "1.0.136", features = ["derive"] }
serde_json = "1.0.48" serde_json = "1.0.79"
anyhow = "1.0.26" anyhow = "1.0.56"
expect-test = "1.2.0-pre.1" expect-test = "1.2.2"
la-arena = { version = "0.3.0", path = "../../lib/arena" } la-arena = { version = "0.3.0", path = "../../lib/arena" }
cfg = { path = "../cfg", version = "0.0.0" } cfg = { path = "../cfg", version = "0.0.0" }

View file

@ -18,32 +18,32 @@ name = "rust-analyzer"
path = "src/bin/main.rs" path = "src/bin/main.rs"
[dependencies] [dependencies]
anyhow = "1.0.26" anyhow = "1.0.56"
crossbeam-channel = "0.5.0" crossbeam-channel = "0.5.4"
dissimilar = "1.0.2" dissimilar = "1.0.3"
itertools = "0.10.0" itertools = "0.10.3"
lsp-types = { version = "0.92", features = ["proposed"] } lsp-types = { version = "0.92.1", features = ["proposed"] }
parking_lot = "0.12" parking_lot = "0.12.0"
xflags = "0.2.1" xflags = "0.2.4"
oorandom = "11.1.2" oorandom = "11.1.3"
rustc-hash = "1.1.0" rustc-hash = "1.1.0"
serde = { version = "1.0.106", features = ["derive"] } serde = { version = "1.0.136", features = ["derive"] }
serde_json = { version = "1.0.48", features = ["preserve_order"] } serde_json = { version = "1.0.79", features = ["preserve_order"] }
threadpool = "1.7.1" threadpool = "1.8.1"
rayon = "1.5" rayon = "1.5.1"
num_cpus = "1.13.1" num_cpus = "1.13.1"
mimalloc = { version = "0.1.19", default-features = false, optional = true } mimalloc = { version = "0.1.28", default-features = false, optional = true }
lsp-server = "0.5.1" lsp-server = "0.5.2"
tracing = "0.1" tracing = "0.1.32"
tracing-subscriber = { version = "0.3", default-features = false, features = [ tracing-subscriber = { version = "0.3.9", default-features = false, features = [
"env-filter", "env-filter",
"registry", "registry",
"fmt", "fmt",
"tracing-log", "tracing-log",
] } ] }
tracing-log = "0.1.2" tracing-log = "0.1.2"
tracing-tree = "0.2" tracing-tree = "0.2.0"
always-assert = "0.1" always-assert = "0.1.2"
stdx = { path = "../stdx", version = "0.0.0" } stdx = { path = "../stdx", version = "0.0.0" }
flycheck = { path = "../flycheck", version = "0.0.0" } flycheck = { path = "../flycheck", version = "0.0.0" }
@ -67,14 +67,14 @@ hir_ty = { path = "../hir_ty", version = "0.0.0" }
proc_macro_srv = { path = "../proc_macro_srv", version = "0.0.0" } proc_macro_srv = { path = "../proc_macro_srv", version = "0.0.0" }
[target.'cfg(windows)'.dependencies] [target.'cfg(windows)'.dependencies]
winapi = "0.3.8" winapi = "0.3.9"
[target.'cfg(not(target_env = "msvc"))'.dependencies] [target.'cfg(not(target_env = "msvc"))'.dependencies]
jemallocator = { version = "0.4.1", package = "tikv-jemallocator", optional = true } jemallocator = { version = "0.4.3", package = "tikv-jemallocator", optional = true }
[dev-dependencies] [dev-dependencies]
expect-test = "1.2.0-pre.1" expect-test = "1.2.2"
jod-thread = "0.1.0" jod-thread = "0.1.2"
xshell = "0.2.1" xshell = "0.2.1"
test_utils = { path = "../test_utils" } test_utils = { path = "../test_utils" }

View file

@ -112,6 +112,7 @@ pub fn server_capabilities(config: &Config) -> ServerCapabilities {
.into(), .into(),
), ),
moniker_provider: None, moniker_provider: None,
inlay_hint_provider: None,
experimental: Some(json!({ experimental: Some(json!({
"externalDocs": true, "externalDocs": true,
"hoverRange": true, "hoverRange": true,

View file

@ -10,8 +10,8 @@ rust-version = "1.57"
doctest = false doctest = false
[dependencies] [dependencies]
libc = "0.2" libc = "0.2.121"
backtrace = { version = "0.3.44", optional = true } backtrace = { version = "0.3.64", optional = true }
always-assert = { version = "0.1.2", features = ["log"] } always-assert = { version = "0.1.2", features = ["log"] }
# Think twice before adding anything here # Think twice before adding anything here

View file

@ -12,12 +12,12 @@ doctest = false
[dependencies] [dependencies]
cov-mark = "2.0.0-pre.1" cov-mark = "2.0.0-pre.1"
itertools = "0.10.0" itertools = "0.10.3"
rowan = "0.15.0" rowan = "0.15.4"
rustc_lexer = { version = "725.0.0", package = "rustc-ap-rustc_lexer" } rustc_lexer = { version = "725.0.0", package = "rustc-ap-rustc_lexer" }
rustc-hash = "1.1.0" rustc-hash = "1.1.0"
once_cell = "1.3.1" once_cell = "1.10.0"
indexmap = "1.7.0" indexmap = "1.8.0"
smol_str = "0.1.21" smol_str = "0.1.21"
stdx = { path = "../stdx", version = "0.0.0" } stdx = { path = "../stdx", version = "0.0.0" }
@ -26,10 +26,10 @@ parser = { path = "../parser", version = "0.0.0" }
profile = { path = "../profile", version = "0.0.0" } profile = { path = "../profile", version = "0.0.0" }
[dev-dependencies] [dev-dependencies]
rayon = "1" rayon = "1.5.1"
expect-test = "1.2.0-pre.1" expect-test = "1.2.2"
proc-macro2 = "1.0.8" proc-macro2 = "1.0.36"
quote = "1.0.2" quote = "1.0.16"
ungrammar = "=1.16.1" ungrammar = "=1.16.1"
test_utils = { path = "../test_utils" } test_utils = { path = "../test_utils" }

View file

@ -11,8 +11,8 @@ doctest = false
[dependencies] [dependencies]
# Avoid adding deps here, this crate is widely used in tests it should compile fast! # Avoid adding deps here, this crate is widely used in tests it should compile fast!
dissimilar = "1.0.2" dissimilar = "1.0.3"
text-size = "1.0.0" text-size = "1.1.0"
rustc-hash = "1.1.0" rustc-hash = "1.1.0"
stdx = { path = "../stdx", version = "0.0.0" } stdx = { path = "../stdx", version = "0.0.0" }

View file

@ -10,5 +10,5 @@ rust-version = "1.57"
doctest = false doctest = false
[dependencies] [dependencies]
itertools = "0.10.0" itertools = "0.10.3"
text-size = "1.0.0" text-size = "1.1.0"

View file

@ -10,6 +10,6 @@ rust-version = "1.57"
doctest = false doctest = false
[dependencies] [dependencies]
smol_str = "0.1" smol_str = "0.1.21"
stdx = { path = "../stdx", version = "0.0.0" } stdx = { path = "../stdx", version = "0.0.0" }

View file

@ -10,10 +10,10 @@ rust-version = "1.57"
doctest = false doctest = false
[dependencies] [dependencies]
tracing = "0.1" tracing = "0.1.32"
jod-thread = "0.1.0" jod-thread = "0.1.2"
walkdir = "2.3.1" walkdir = "2.3.2"
crossbeam-channel = "0.5.0" crossbeam-channel = "0.5.4"
notify = "=5.0.0-pre.14" notify = "=5.0.0-pre.14"
vfs = { path = "../vfs", version = "0.0.0" } vfs = { path = "../vfs", version = "0.0.0" }

View file

@ -10,8 +10,8 @@ rust-version = "1.57"
doctest = false doctest = false
[dependencies] [dependencies]
rustc-hash = "1.0" rustc-hash = "1.1.0"
fst = "0.4" fst = "0.4.7"
paths = { path = "../paths", version = "0.0.0" } paths = { path = "../paths", version = "0.0.0" }
indexmap = "1.7" indexmap = "1.8.0"

View file

@ -7,9 +7,9 @@ edition = "2021"
rust-version = "1.57" rust-version = "1.57"
[dependencies] [dependencies]
anyhow = "1.0.26" anyhow = "1.0.56"
flate2 = "1.0" flate2 = "1.0.22"
write-json = "0.1.0" write-json = "0.1.2"
xshell = "0.2.1" xshell = "0.2.1"
xflags = "0.2.1" xflags = "0.2.4"
# Avoid adding more dependencies to this crate # Avoid adding more dependencies to this crate