From 8e91bb76606022bafd2d47796676717fa2cfc4e9 Mon Sep 17 00:00:00 2001 From: Lukas Wirth Date: Tue, 22 Mar 2022 17:36:41 +0100 Subject: [PATCH] minor: Bump dependencies --- Cargo.lock | 32 +++++++++++----------- crates/cfg/Cargo.toml | 8 +++--- crates/flycheck/Cargo.toml | 12 ++++----- crates/hir/Cargo.toml | 10 +++---- crates/hir_def/Cargo.toml | 24 ++++++++--------- crates/hir_expand/Cargo.toml | 12 ++++----- crates/hir_ty/Cargo.toml | 26 +++++++++--------- crates/hir_ty/src/chalk_db.rs | 38 +++++++++++++++----------- crates/ide/Cargo.toml | 18 ++++++------- crates/ide_assists/Cargo.toml | 4 +-- crates/ide_completion/Cargo.toml | 8 +++--- crates/ide_db/Cargo.toml | 16 +++++------ crates/ide_diagnostics/Cargo.toml | 6 ++--- crates/ide_ssr/Cargo.toml | 4 +-- crates/mbe/Cargo.toml | 4 +-- crates/parser/Cargo.toml | 5 ++-- crates/proc_macro_api/Cargo.toml | 12 ++++----- crates/proc_macro_srv/Cargo.toml | 8 +++--- crates/proc_macro_test/Cargo.toml | 2 +- crates/profile/Cargo.toml | 14 +++++----- crates/project_model/Cargo.toml | 14 +++++----- crates/rust-analyzer/Cargo.toml | 44 +++++++++++++++---------------- crates/rust-analyzer/src/caps.rs | 1 + crates/stdx/Cargo.toml | 4 +-- crates/syntax/Cargo.toml | 16 +++++------ crates/test_utils/Cargo.toml | 4 +-- crates/text_edit/Cargo.toml | 4 +-- crates/tt/Cargo.toml | 2 +- crates/vfs-notify/Cargo.toml | 8 +++--- crates/vfs/Cargo.toml | 6 ++--- xtask/Cargo.toml | 8 +++--- 31 files changed, 191 insertions(+), 183 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 5351da334a..0aa8adbdb5 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -171,9 +171,9 @@ checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd" [[package]] name = "chalk-derive" -version = "0.79.0" +version = "0.80.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0b14364774396379d5c488e73d88e0a6d2b51acd0dac9c8359e2f84c58cf3a16" +checksum = "d0001adf0cf12361e08b65e1898ea138f8f77d8f5177cbf29b6b3b3532252bd6" dependencies = [ "proc-macro2", "quote", @@ -183,9 +183,9 @@ dependencies = [ [[package]] name = "chalk-ir" -version = "0.79.0" +version = "0.80.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cd571e8931d3075f562a2d460bfe3028a9c7b343876765cce95b6143a76b882e" +checksum = "92d8a95548f23618fda86426e4304e563ec2bb7ba0216139f0748d63c107b5f1" dependencies = [ "bitflags", "chalk-derive", @@ -194,9 +194,9 @@ dependencies = [ [[package]] name = "chalk-recursive" -version = "0.79.0" +version = "0.80.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "54ceedab35607f4680d02de80f8be005af0ad5c1dcfec56cfd849d33da5fe736" +checksum = "759a811f4706f02304353db1b8b525fe6ec25648e004bf7e348139c86865240f" dependencies = [ "chalk-derive", "chalk-ir", @@ -207,9 +207,9 @@ dependencies = [ [[package]] name = "chalk-solve" -version = "0.79.0" +version = "0.80.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9e31bb853cf921365759346db05d833f969e330462432bf38c9c2be1e78a9abd" +checksum = "f37f492dacfafe2e21319b80827da2779932909bb392f0cc86b2bd5c07c1b4e1" dependencies = [ "chalk-derive", "chalk-ir", @@ -249,9 +249,9 @@ dependencies = [ [[package]] name = "crossbeam-channel" -version = "0.5.3" +version = "0.5.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fdbfe11fe19ff083c48923cf179540e8cd0535903dc35e178a1fdeeb59aef51f" +checksum = "5aaa7bd5fb665c6864b5f963dd9097905c54125909c7aa94c9e18507cdbe6c53" dependencies = [ "cfg-if", "crossbeam-utils", @@ -821,9 +821,9 @@ checksum = "e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646" [[package]] name = "libc" -version = "0.2.120" +version = "0.2.121" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ad5c14e80759d0939d013e6ca49930e59fc53dd8e5009132f76240c179380c09" +checksum = "efaa7b300f3b5fe8eb6bf21ce3895e1751d9665086af2d64b42f19701015ff4f" [[package]] name = "libloading" @@ -880,9 +880,9 @@ dependencies = [ [[package]] name = "lsp-types" -version = "0.92.0" +version = "0.92.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e8a69d4142d51b208c9fc3cea68b1a7fcef30354e7aa6ccad07250fd8430fc76" +checksum = "c79d4897790e8fd2550afa6d6125821edb5716e60e0e285046e070f0f6a06e0e" dependencies = [ "bitflags", "serde", @@ -1283,9 +1283,9 @@ dependencies = [ [[package]] name = "quote" -version = "1.0.15" +version = "1.0.16" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "864d3e96a899863136fc6e99f3d7cae289dafe43bf2c5ac19b70df7210c0a145" +checksum = "b4af2ec4714533fcdf07e886f17025ace8b997b9ce51204ee69b6da831c3da57" dependencies = [ "proc-macro2", ] diff --git a/crates/cfg/Cargo.toml b/crates/cfg/Cargo.toml index 8f9437d8e7..5c510db83b 100644 --- a/crates/cfg/Cargo.toml +++ b/crates/cfg/Cargo.toml @@ -17,10 +17,10 @@ tt = { path = "../tt", version = "0.0.0" } [dev-dependencies] mbe = { path = "../mbe" } syntax = { path = "../syntax" } -expect-test = "1.2.0-pre.1" -oorandom = "11" +expect-test = "1.2.2" +oorandom = "11.1.3" # 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` # supports `arbitrary`. This way, we avoid feature unification. -arbitrary = "1" -derive_arbitrary = "1" +arbitrary = "1.1.0" +derive_arbitrary = "1.1.0" diff --git a/crates/flycheck/Cargo.toml b/crates/flycheck/Cargo.toml index 6284ebfc82..c33d893744 100644 --- a/crates/flycheck/Cargo.toml +++ b/crates/flycheck/Cargo.toml @@ -10,12 +10,12 @@ rust-version = "1.57" doctest = false [dependencies] -crossbeam-channel = "0.5.0" -tracing = "0.1" -cargo_metadata = "0.14" -serde = { version = "1.0.106", features = ["derive"] } -serde_json = "1.0.48" -jod-thread = "0.1.1" +crossbeam-channel = "0.5.4" +tracing = "0.1.32" +cargo_metadata = "0.14.2" +serde = { version = "1.0.136", features = ["derive"] } +serde_json = "1.0.79" +jod-thread = "0.1.2" toolchain = { path = "../toolchain", version = "0.0.0" } stdx = { path = "../stdx", version = "0.0.0" } diff --git a/crates/hir/Cargo.toml b/crates/hir/Cargo.toml index 68cfb5d324..2b9a52d36f 100644 --- a/crates/hir/Cargo.toml +++ b/crates/hir/Cargo.toml @@ -11,11 +11,11 @@ doctest = false [dependencies] rustc-hash = "1.1.0" -either = "1.5.3" -arrayvec = "0.7" -itertools = "0.10.0" -smallvec = "1.4.0" -once_cell = "1" +either = "1.6.1" +arrayvec = "0.7.2" +itertools = "0.10.3" +smallvec = "1.8.0" +once_cell = "1.10.0" stdx = { path = "../stdx", version = "0.0.0" } syntax = { path = "../syntax", version = "0.0.0" } diff --git a/crates/hir_def/Cargo.toml b/crates/hir_def/Cargo.toml index 8a886f4a96..5087e18bc3 100644 --- a/crates/hir_def/Cargo.toml +++ b/crates/hir_def/Cargo.toml @@ -11,19 +11,19 @@ doctest = false [dependencies] cov-mark = "2.0.0-pre.1" -dashmap = { version = "5.0", features = ["raw-api"] } -lock_api = "0.4" -parking_lot = "0.12" -tracing = "0.1" -once_cell = "1.3.1" +dashmap = { version = "5.2.0", features = ["raw-api"] } +lock_api = "0.4.6" +parking_lot = "0.12.0" +tracing = "0.1.32" +once_cell = "1.10.0" rustc-hash = "1.1.0" -either = "1.5.3" +either = "1.6.1" anymap = "0.12.1" -drop_bomb = "0.1.4" -fst = { version = "0.4", default-features = false } -itertools = "0.10.0" -indexmap = "1.7.0" -smallvec = "1.4.0" +drop_bomb = "0.1.5" +fst = { version = "0.4.7", default-features = false } +itertools = "0.10.3" +indexmap = "1.8.0" +smallvec = "1.8.0" arrayvec = "0.7.2" la-arena = { version = "0.3.0", path = "../../lib/arena" } @@ -39,4 +39,4 @@ limit = { path = "../limit", version = "0.0.0" } [dev-dependencies] test_utils = { path = "../test_utils" } -expect-test = "1.2.0-pre.1" +expect-test = "1.2.2" diff --git a/crates/hir_expand/Cargo.toml b/crates/hir_expand/Cargo.toml index d7b4cbf82e..9d8772d129 100644 --- a/crates/hir_expand/Cargo.toml +++ b/crates/hir_expand/Cargo.toml @@ -11,12 +11,12 @@ doctest = false [dependencies] cov-mark = "2.0.0-pre.1" -tracing = "0.1" -either = "1.5.3" -rustc-hash = "1.0.0" +tracing = "0.1.32" +either = "1.6.1" +rustc-hash = "1.1.0" la-arena = { version = "0.3.0", path = "../../lib/arena" } -itertools = "0.10.0" -hashbrown = { version = "0.12", features = [ +itertools = "0.10.3" +hashbrown = { version = "0.12.0", features = [ "inline-more", ], default-features = false } @@ -29,4 +29,4 @@ mbe = { path = "../mbe", version = "0.0.0" } limit = { path = "../limit", version = "0.0.0" } [dev-dependencies] -expect-test = "1.2.0-pre.1" +expect-test = "1.2.2" diff --git a/crates/hir_ty/Cargo.toml b/crates/hir_ty/Cargo.toml index d2bfca53ad..699fd86c9d 100644 --- a/crates/hir_ty/Cargo.toml +++ b/crates/hir_ty/Cargo.toml @@ -11,18 +11,18 @@ doctest = false [dependencies] cov-mark = "2.0.0-pre.1" -itertools = "0.10.0" -arrayvec = "0.7" -smallvec = "1.2.0" +itertools = "0.10.3" +arrayvec = "0.7.2" +smallvec = "1.8.0" ena = "0.14.0" -tracing = "0.1" +tracing = "0.1.32" rustc-hash = "1.1.0" -scoped-tls = "1" -chalk-solve = { version = "0.79", default-features = false } -chalk-ir = "0.79" -chalk-recursive = { version = "0.79", default-features = false } +scoped-tls = "1.0.0" +chalk-solve = { version = "0.80.0", default-features = false } +chalk-ir = "0.80.0" +chalk-recursive = { version = "0.80.0", default-features = false } 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" stdx = { path = "../stdx", version = "0.0.0" } @@ -35,10 +35,10 @@ limit = { path = "../limit", version = "0.0.0" } [dev-dependencies] test_utils = { path = "../test_utils" } -expect-test = "1.2.0-pre.1" -tracing = "0.1" -tracing-subscriber = { version = "0.3", default-features = false, features = [ +expect-test = "1.2.2" +tracing = "0.1.32" +tracing-subscriber = { version = "0.3.9", default-features = false, features = [ "env-filter", "registry", ] } -tracing-tree = "0.2" +tracing-tree = "0.2.0" diff --git a/crates/hir_ty/src/chalk_db.rs b/crates/hir_ty/src/chalk_db.rs index 1b67e5a86b..451245b5d2 100644 --- a/crates/hir_ty/src/chalk_db.rs +++ b/crates/hir_ty/src/chalk_db.rs @@ -337,6 +337,10 @@ impl<'a> chalk_solve::RustIrDatabase for ChalkContext<'a> { hir_def::AdtId::UnionId(id) => self.db.union_data(id).name.to_string(), } } + fn adt_size_align(&self, _id: chalk_ir::AdtId) -> Arc { + // FIXME + Arc::new(rust_ir::AdtSizeAlign::from_one_zst(false)) + } fn assoc_type_name(&self, assoc_ty_id: chalk_ir::AssocTypeId) -> String { let id = self.db.associated_ty_data(assoc_ty_id).name; 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 { Some(match name { - "sized" => WellKnownTrait::Sized, - "copy" => WellKnownTrait::Copy, "clone" => WellKnownTrait::Clone, - "drop" => WellKnownTrait::Drop, - "fn_once" => WellKnownTrait::FnOnce, - "fn_mut" => WellKnownTrait::FnMut, - "fn" => WellKnownTrait::Fn, - "unsize" => WellKnownTrait::Unsize, "coerce_unsized" => WellKnownTrait::CoerceUnsized, + "copy" => WellKnownTrait::Copy, "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, }) } fn lang_attr_from_well_known_trait(attr: WellKnownTrait) -> &'static str { match attr { - WellKnownTrait::Sized => "sized", - WellKnownTrait::Copy => "copy", 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::Copy => "copy", 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::Sized => "sized", + WellKnownTrait::Unpin => "unpin", + WellKnownTrait::Unsize => "unsize", } } diff --git a/crates/ide/Cargo.toml b/crates/ide/Cargo.toml index 1df2942bdc..cd11b2801d 100644 --- a/crates/ide/Cargo.toml +++ b/crates/ide/Cargo.toml @@ -11,15 +11,15 @@ doctest = false [dependencies] cov-mark = "2.0.0-pre.1" -crossbeam-channel = "0.5.0" -either = "1.5.3" -itertools = "0.10.0" -tracing = "0.1" +crossbeam-channel = "0.5.4" +either = "1.6.1" +itertools = "0.10.3" +tracing = "0.1.32" rustc-hash = "1.1.0" -oorandom = "11.1.2" -pulldown-cmark-to-cmark = "10.0.0" -pulldown-cmark = { version = "0.9", default-features = false } -url = "2.1.1" +oorandom = "11.1.3" +pulldown-cmark-to-cmark = "10.0.1" +pulldown-cmark = { version = "0.9.1", default-features = false } +url = "2.2.2" dot = "0.1.4" stdx = { path = "../stdx", version = "0.0.0" } @@ -39,4 +39,4 @@ hir = { path = "../hir", version = "0.0.0" } [dev-dependencies] test_utils = { path = "../test_utils" } -expect-test = "1.2.0-pre.1" +expect-test = "1.2.2" diff --git a/crates/ide_assists/Cargo.toml b/crates/ide_assists/Cargo.toml index 09242e0aaf..4caa9285b4 100644 --- a/crates/ide_assists/Cargo.toml +++ b/crates/ide_assists/Cargo.toml @@ -12,7 +12,7 @@ doctest = false [dependencies] cov-mark = "2.0.0-pre.1" rustc-hash = "1.1.0" -itertools = "0.10.0" +itertools = "0.10.3" either = "1.6.1" stdx = { path = "../stdx", version = "0.0.0" } @@ -25,4 +25,4 @@ hir = { path = "../hir", version = "0.0.0" } [dev-dependencies] test_utils = { path = "../test_utils" } sourcegen = { path = "../sourcegen" } -expect-test = "1.2.0-pre.1" +expect-test = "1.2.2" diff --git a/crates/ide_completion/Cargo.toml b/crates/ide_completion/Cargo.toml index 5d8cad4389..e088e3815a 100644 --- a/crates/ide_completion/Cargo.toml +++ b/crates/ide_completion/Cargo.toml @@ -11,11 +11,11 @@ doctest = false [dependencies] cov-mark = "2.0.0-pre.1" -itertools = "0.10.0" +itertools = "0.10.3" rustc-hash = "1.1.0" either = "1.6.1" -once_cell = "1.7" -smallvec = "1.4" +once_cell = "1.10.0" +smallvec = "1.8.0" stdx = { path = "../stdx", 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" } [dev-dependencies] -expect-test = "1.2.0-pre.1" +expect-test = "1.2.2" test_utils = { path = "../test_utils" } diff --git a/crates/ide_db/Cargo.toml b/crates/ide_db/Cargo.toml index 26b51739cf..8c4fe95de1 100644 --- a/crates/ide_db/Cargo.toml +++ b/crates/ide_db/Cargo.toml @@ -11,15 +11,15 @@ doctest = false [dependencies] cov-mark = "2.0.0-pre.1" -tracing = "0.1" -rayon = "1.5.0" -fst = { version = "0.4", default-features = false } +tracing = "0.1.32" +rayon = "1.5.1" +fst = { version = "0.4.7", default-features = false } rustc-hash = "1.1.0" -once_cell = "1.3.1" +once_cell = "1.10.0" either = "1.6.1" -itertools = "0.10.0" -arrayvec = "0.7" -indexmap = "1.7" +itertools = "0.10.3" +arrayvec = "0.7.2" +indexmap = "1.8.0" stdx = { path = "../stdx", 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" } sourcegen = { path = "../sourcegen" } xshell = "0.2.1" -expect-test = "1.2.0-pre.1" +expect-test = "1.2.2" diff --git a/crates/ide_diagnostics/Cargo.toml b/crates/ide_diagnostics/Cargo.toml index ba926c3719..3d3eba3ba4 100644 --- a/crates/ide_diagnostics/Cargo.toml +++ b/crates/ide_diagnostics/Cargo.toml @@ -11,9 +11,9 @@ doctest = false [dependencies] cov-mark = "2.0.0-pre.1" -itertools = "0.10.0" +itertools = "0.10.3" rustc-hash = "1.1.0" -either = "1.5.3" +either = "1.6.1" profile = { path = "../profile", 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" } [dev-dependencies] -expect-test = "1.2.0-pre.1" +expect-test = "1.2.2" test_utils = { path = "../test_utils" } sourcegen = { path = "../sourcegen" } diff --git a/crates/ide_ssr/Cargo.toml b/crates/ide_ssr/Cargo.toml index a725f7847c..9135857c38 100644 --- a/crates/ide_ssr/Cargo.toml +++ b/crates/ide_ssr/Cargo.toml @@ -13,7 +13,7 @@ doctest = false [dependencies] cov-mark = "2.0.0-pre.1" rustc-hash = "1.1.0" -itertools = "0.10.0" +itertools = "0.10.3" text_edit = { path = "../text_edit", version = "0.0.0" } parser = { path = "../parser", version = "0.0.0" } @@ -23,4 +23,4 @@ hir = { path = "../hir", version = "0.0.0" } [dev-dependencies] test_utils = { path = "../test_utils" } -expect-test = "1.2.0-pre.1" +expect-test = "1.2.2" diff --git a/crates/mbe/Cargo.toml b/crates/mbe/Cargo.toml index c29c570bf5..1453ec4c69 100644 --- a/crates/mbe/Cargo.toml +++ b/crates/mbe/Cargo.toml @@ -12,8 +12,8 @@ doctest = false [dependencies] cov-mark = "2.0.0-pre.1" rustc-hash = "1.1.0" -smallvec = "1.2.0" -tracing = "0.1" +smallvec = "1.8.0" +tracing = "0.1.32" syntax = { path = "../syntax", version = "0.0.0" } parser = { path = "../parser", version = "0.0.0" } diff --git a/crates/parser/Cargo.toml b/crates/parser/Cargo.toml index 0a5f923305..8105b536b7 100644 --- a/crates/parser/Cargo.toml +++ b/crates/parser/Cargo.toml @@ -10,11 +10,10 @@ rust-version = "1.57" doctest = false [dependencies] -drop_bomb = "0.1.4" +drop_bomb = "0.1.5" rustc_lexer = { version = "725.0.0", package = "rustc-ap-rustc_lexer" } limit = { path = "../limit", version = "0.0.0" } [dev-dependencies] -expect-test = "1.2" +expect-test = "1.2.2" sourcegen = { path = "../sourcegen" } - diff --git a/crates/proc_macro_api/Cargo.toml b/crates/proc_macro_api/Cargo.toml index fde5b80141..000c23dab6 100644 --- a/crates/proc_macro_api/Cargo.toml +++ b/crates/proc_macro_api/Cargo.toml @@ -10,18 +10,18 @@ rust-version = "1.57" doctest = false [dependencies] -object = { version = "0.28", default-features = false, features = [ +object = { version = "0.28.3", default-features = false, features = [ "std", "read_core", "elf", "macho", "pe", ] } -serde = { version = "1.0", features = ["derive"] } -serde_json = { version = "1.0", features = ["unbounded_depth"] } -tracing = "0.1" -memmap2 = "0.5" -snap = "1.0" +serde = { version = "1.0.136", features = ["derive"] } +serde_json = { version = "1.0.79", features = ["unbounded_depth"] } +tracing = "0.1.32" +memmap2 = "0.5.3" +snap = "1.0.5" paths = { path = "../paths", version = "0.0.0" } tt = { path = "../tt", version = "0.0.0" } diff --git a/crates/proc_macro_srv/Cargo.toml b/crates/proc_macro_srv/Cargo.toml index 28e759cd87..381d241b86 100644 --- a/crates/proc_macro_srv/Cargo.toml +++ b/crates/proc_macro_srv/Cargo.toml @@ -10,15 +10,15 @@ rust-version = "1.57" doctest = false [dependencies] -object = { version = "0.28", default-features = false, features = [ +object = { version = "0.28.3", default-features = false, features = [ "std", "read_core", "elf", "macho", "pe", ] } -libloading = "0.7.0" -memmap2 = "0.5" +libloading = "0.7.3" +memmap2 = "0.5.3" tt = { path = "../tt", 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" } [dev-dependencies] -expect-test = "1.2.0-pre.1" +expect-test = "1.2.2" # used as proc macro test targets proc_macro_test = { path = "../proc_macro_test" } diff --git a/crates/proc_macro_test/Cargo.toml b/crates/proc_macro_test/Cargo.toml index 85c6de390a..d0ddbd6d59 100644 --- a/crates/proc_macro_test/Cargo.toml +++ b/crates/proc_macro_test/Cargo.toml @@ -12,4 +12,4 @@ doctest = false [build-dependencies] proc_macro_test_impl = { path = "imp", version = "0.0.0" } toolchain = { path = "../toolchain", version = "0.0.0" } -cargo_metadata = "0.14" +cargo_metadata = "0.14.2" diff --git a/crates/profile/Cargo.toml b/crates/profile/Cargo.toml index 51eeea30d2..8324f48de9 100644 --- a/crates/profile/Cargo.toml +++ b/crates/profile/Cargo.toml @@ -10,18 +10,18 @@ rust-version = "1.57" doctest = false [dependencies] -once_cell = "1.3.1" -cfg-if = "1" -libc = "0.2" +once_cell = "1.10.0" +cfg-if = "1.0.0" +libc = "0.2.121" la-arena = { version = "0.3.0", path = "../../lib/arena" } -countme = { version = "3.0", features = ["enable"] } -jemalloc-ctl = { version = "0.4.1", package = "tikv-jemalloc-ctl", optional = true } +countme = { version = "3.0.1", features = ["enable"] } +jemalloc-ctl = { version = "0.4.2", package = "tikv-jemalloc-ctl", optional = true } [target.'cfg(target_os = "linux")'.dependencies] -perf-event = "0.4" +perf-event = "0.4.7" [target.'cfg(windows)'.dependencies] -winapi = { version = "0.3.8", features = ["processthreadsapi", "psapi"] } +winapi = { version = "0.3.9", features = ["processthreadsapi", "psapi"] } [features] cpu_profiler = [] diff --git a/crates/project_model/Cargo.toml b/crates/project_model/Cargo.toml index 4932e7d012..abb21586da 100644 --- a/crates/project_model/Cargo.toml +++ b/crates/project_model/Cargo.toml @@ -10,14 +10,14 @@ rust-version = "1.57" doctest = false [dependencies] -tracing = "0.1" +tracing = "0.1.32" rustc-hash = "1.1.0" -cargo_metadata = "0.14" -semver = "1" -serde = { version = "1.0.106", features = ["derive"] } -serde_json = "1.0.48" -anyhow = "1.0.26" -expect-test = "1.2.0-pre.1" +cargo_metadata = "0.14.2" +semver = "1.0.6" +serde = { version = "1.0.136", features = ["derive"] } +serde_json = "1.0.79" +anyhow = "1.0.56" +expect-test = "1.2.2" la-arena = { version = "0.3.0", path = "../../lib/arena" } cfg = { path = "../cfg", version = "0.0.0" } diff --git a/crates/rust-analyzer/Cargo.toml b/crates/rust-analyzer/Cargo.toml index 079e56c9fa..87b4203e51 100644 --- a/crates/rust-analyzer/Cargo.toml +++ b/crates/rust-analyzer/Cargo.toml @@ -18,32 +18,32 @@ name = "rust-analyzer" path = "src/bin/main.rs" [dependencies] -anyhow = "1.0.26" -crossbeam-channel = "0.5.0" -dissimilar = "1.0.2" -itertools = "0.10.0" -lsp-types = { version = "0.92", features = ["proposed"] } -parking_lot = "0.12" -xflags = "0.2.1" -oorandom = "11.1.2" +anyhow = "1.0.56" +crossbeam-channel = "0.5.4" +dissimilar = "1.0.3" +itertools = "0.10.3" +lsp-types = { version = "0.92.1", features = ["proposed"] } +parking_lot = "0.12.0" +xflags = "0.2.4" +oorandom = "11.1.3" rustc-hash = "1.1.0" -serde = { version = "1.0.106", features = ["derive"] } -serde_json = { version = "1.0.48", features = ["preserve_order"] } -threadpool = "1.7.1" -rayon = "1.5" +serde = { version = "1.0.136", features = ["derive"] } +serde_json = { version = "1.0.79", features = ["preserve_order"] } +threadpool = "1.8.1" +rayon = "1.5.1" num_cpus = "1.13.1" -mimalloc = { version = "0.1.19", default-features = false, optional = true } -lsp-server = "0.5.1" -tracing = "0.1" -tracing-subscriber = { version = "0.3", default-features = false, features = [ +mimalloc = { version = "0.1.28", default-features = false, optional = true } +lsp-server = "0.5.2" +tracing = "0.1.32" +tracing-subscriber = { version = "0.3.9", default-features = false, features = [ "env-filter", "registry", "fmt", "tracing-log", ] } tracing-log = "0.1.2" -tracing-tree = "0.2" -always-assert = "0.1" +tracing-tree = "0.2.0" +always-assert = "0.1.2" stdx = { path = "../stdx", 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" } [target.'cfg(windows)'.dependencies] -winapi = "0.3.8" +winapi = "0.3.9" [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] -expect-test = "1.2.0-pre.1" -jod-thread = "0.1.0" +expect-test = "1.2.2" +jod-thread = "0.1.2" xshell = "0.2.1" test_utils = { path = "../test_utils" } diff --git a/crates/rust-analyzer/src/caps.rs b/crates/rust-analyzer/src/caps.rs index d83af2a48a..8c19f584f0 100644 --- a/crates/rust-analyzer/src/caps.rs +++ b/crates/rust-analyzer/src/caps.rs @@ -112,6 +112,7 @@ pub fn server_capabilities(config: &Config) -> ServerCapabilities { .into(), ), moniker_provider: None, + inlay_hint_provider: None, experimental: Some(json!({ "externalDocs": true, "hoverRange": true, diff --git a/crates/stdx/Cargo.toml b/crates/stdx/Cargo.toml index bfce91b1d3..d3dfdf7eb6 100644 --- a/crates/stdx/Cargo.toml +++ b/crates/stdx/Cargo.toml @@ -10,8 +10,8 @@ rust-version = "1.57" doctest = false [dependencies] -libc = "0.2" -backtrace = { version = "0.3.44", optional = true } +libc = "0.2.121" +backtrace = { version = "0.3.64", optional = true } always-assert = { version = "0.1.2", features = ["log"] } # Think twice before adding anything here diff --git a/crates/syntax/Cargo.toml b/crates/syntax/Cargo.toml index d8f8290745..4a454cb8b7 100644 --- a/crates/syntax/Cargo.toml +++ b/crates/syntax/Cargo.toml @@ -12,12 +12,12 @@ doctest = false [dependencies] cov-mark = "2.0.0-pre.1" -itertools = "0.10.0" -rowan = "0.15.0" +itertools = "0.10.3" +rowan = "0.15.4" rustc_lexer = { version = "725.0.0", package = "rustc-ap-rustc_lexer" } rustc-hash = "1.1.0" -once_cell = "1.3.1" -indexmap = "1.7.0" +once_cell = "1.10.0" +indexmap = "1.8.0" smol_str = "0.1.21" 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" } [dev-dependencies] -rayon = "1" -expect-test = "1.2.0-pre.1" -proc-macro2 = "1.0.8" -quote = "1.0.2" +rayon = "1.5.1" +expect-test = "1.2.2" +proc-macro2 = "1.0.36" +quote = "1.0.16" ungrammar = "=1.16.1" test_utils = { path = "../test_utils" } diff --git a/crates/test_utils/Cargo.toml b/crates/test_utils/Cargo.toml index 36293155f2..e8a8ef04b4 100644 --- a/crates/test_utils/Cargo.toml +++ b/crates/test_utils/Cargo.toml @@ -11,8 +11,8 @@ doctest = false [dependencies] # Avoid adding deps here, this crate is widely used in tests it should compile fast! -dissimilar = "1.0.2" -text-size = "1.0.0" +dissimilar = "1.0.3" +text-size = "1.1.0" rustc-hash = "1.1.0" stdx = { path = "../stdx", version = "0.0.0" } diff --git a/crates/text_edit/Cargo.toml b/crates/text_edit/Cargo.toml index dae69e265d..fde19f1363 100644 --- a/crates/text_edit/Cargo.toml +++ b/crates/text_edit/Cargo.toml @@ -10,5 +10,5 @@ rust-version = "1.57" doctest = false [dependencies] -itertools = "0.10.0" -text-size = "1.0.0" +itertools = "0.10.3" +text-size = "1.1.0" diff --git a/crates/tt/Cargo.toml b/crates/tt/Cargo.toml index 3fb39355fe..f97c59ea53 100644 --- a/crates/tt/Cargo.toml +++ b/crates/tt/Cargo.toml @@ -10,6 +10,6 @@ rust-version = "1.57" doctest = false [dependencies] -smol_str = "0.1" +smol_str = "0.1.21" stdx = { path = "../stdx", version = "0.0.0" } diff --git a/crates/vfs-notify/Cargo.toml b/crates/vfs-notify/Cargo.toml index 10addab1e4..a13a85f92f 100644 --- a/crates/vfs-notify/Cargo.toml +++ b/crates/vfs-notify/Cargo.toml @@ -10,10 +10,10 @@ rust-version = "1.57" doctest = false [dependencies] -tracing = "0.1" -jod-thread = "0.1.0" -walkdir = "2.3.1" -crossbeam-channel = "0.5.0" +tracing = "0.1.32" +jod-thread = "0.1.2" +walkdir = "2.3.2" +crossbeam-channel = "0.5.4" notify = "=5.0.0-pre.14" vfs = { path = "../vfs", version = "0.0.0" } diff --git a/crates/vfs/Cargo.toml b/crates/vfs/Cargo.toml index 24f380e25f..a690535bea 100644 --- a/crates/vfs/Cargo.toml +++ b/crates/vfs/Cargo.toml @@ -10,8 +10,8 @@ rust-version = "1.57" doctest = false [dependencies] -rustc-hash = "1.0" -fst = "0.4" +rustc-hash = "1.1.0" +fst = "0.4.7" paths = { path = "../paths", version = "0.0.0" } -indexmap = "1.7" +indexmap = "1.8.0" diff --git a/xtask/Cargo.toml b/xtask/Cargo.toml index de6a102427..417a58556b 100644 --- a/xtask/Cargo.toml +++ b/xtask/Cargo.toml @@ -7,9 +7,9 @@ edition = "2021" rust-version = "1.57" [dependencies] -anyhow = "1.0.26" -flate2 = "1.0" -write-json = "0.1.0" +anyhow = "1.0.56" +flate2 = "1.0.22" +write-json = "0.1.2" xshell = "0.2.1" -xflags = "0.2.1" +xflags = "0.2.4" # Avoid adding more dependencies to this crate