Subject: [PATCH v2 8/8] gnu: rust-analyzer: update required dependencies version

From: Distopico <[email-masked]>
Date: Wed, 30 Aug 2023 14:58:20 -0500

use pinned versions of different dependencies required by
rust-analyzer@2022-01-10
---
use pinned versions of different dependencies required by
rust-analyzer@2022-01-10

 gnu/packages/crates-io.scm | 12 ++++++------
 gnu/packages/rust-apps.scm | 12 +++++-------
 2 files changed, 11 insertions(+), 13 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 019afc010a..3c83563c45 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -57560,7 +57560,7 @@ (define-public rust-salsa-0.17
        #:cargo-inputs
        (("rust-crossbeam-utils"
          ,rust-crossbeam-utils-0.8)
-        ("rust-indexmap" ,rust-indexmap-1)
+        ("rust-indexmap" ,rust-indexmap-1.7)
         ("rust-lock-api" ,rust-lock-api-0.4)
         ("rust-log" ,rust-log-0.4)
         ("rust-oorandom" ,rust-oorandom-11.1)
@@ -59960,7 +59960,7 @@ (define-public rust-serde-path-to-error-0.1
         (("rust-serde" ,rust-serde-1))
         #:cargo-development-inputs
         (("rust-serde-derive" ,rust-serde-derive-1)
-         ("rust-serde-json" ,rust-serde-json-1))))
+         ("rust-serde-json" ,rust-serde-json-1.0.73))))
     (home-page
       "https://github.com/dtolnay/path-to-error")
     (synopsis
@@ -60018,14 +60018,14 @@ (define-public rust-serde-repr-0.1
     (build-system cargo-build-system)
     (arguments
      `(#:cargo-inputs
-       (("rust-proc-macro2" ,rust-proc-macro2-1)
-        ("rust-quote" ,rust-quote-1)
+       (("rust-proc-macro2" ,rust-proc-macro2-1.0.34)
+        ("rust-quote" ,rust-quote-1.0.10)
         ("rust-syn" ,rust-syn-1))
        #:cargo-development-inputs
        (("rust-rustversion" ,rust-rustversion-1)
         ("rust-serde" ,rust-serde-1)
-        ("rust-serde-json" ,rust-serde-json-1)
-        ("rust-trybuild" ,rust-trybuild-1))))
+        ("rust-serde-json" ,rust-serde-json-1.0.73)
+        ("rust-trybuild" ,rust-trybuild-1.0.19))))
     (home-page "https://github.com/dtolnay/serde-repr")
     (synopsis "Serialize and deserialize C-like enum as underlying repr")
     (description
diff --git a/gnu/packages/rust-apps.scm b/gnu/packages/rust-apps.scm
index 8c7d8006cc..76d48e55f1 100644
--- a/gnu/packages/rust-apps.scm
+++ b/gnu/packages/rust-apps.scm
@@ -1812,7 +1812,7 @@ (define-public rust-analyzer
         ("rust-derive-arbitrary" ,rust-derive-arbitrary-1)
         ("rust-expect-test" ,rust-expect-test-1)
         ("rust-oorandom" ,rust-oorandom-11.1)
-        ("rust-quote" ,rust-quote-1)
+        ("rust-quote" ,rust-quote-1.0.10)
         ("rust-rayon" ,rust-rayon-1)
         ("rust-tracing" ,rust-tracing-0.1)
         ("rust-tracing-subscriber" ,rust-tracing-subscriber-0.3)
@@ -1823,7 +1823,6 @@ (define-public rust-analyzer
         ("rust-anyhow" ,rust-anyhow-1)
         ("rust-anymap" ,rust-anymap-0.12)
         ("rust-arrayvec" ,rust-arrayvec-0.7)
-        ("rust-backtrace" ,rust-backtrace-0.3)
         ("rust-cargo-metadata" ,rust-cargo-metadata-0.14)
         ("rust-cfg-if" ,rust-cfg-if-1)
         ("rust-chalk-ir" ,rust-chalk-ir-0.75)
@@ -1832,17 +1831,16 @@ (define-public rust-analyzer
         ("rust-countme" ,rust-countme-3)
         ("rust-cov-mark" ,rust-cov-mark-2)
         ("rust-crossbeam-channel" ,rust-crossbeam-channel-0.5)
-        ("rust-dashmap" ,rust-dashmap-4)
         ("rust-dissimilar" ,rust-dissimilar-1)
         ("rust-dot" ,rust-dot-0.1)
         ("rust-drop-bomb" ,rust-drop-bomb-0.1)
-        ("rust-either" ,rust-either-1)
+        ("rust-either" ,rust-either-1.6.0)
         ("rust-ena" ,rust-ena-0.14)
         ("rust-env-logger" ,rust-env-logger-0.8)
         ("rust-flate2" ,rust-flate2-1)
         ("rust-fst" ,rust-fst-0.4)
         ("rust-home" ,rust-home-0.5)
-        ("rust-indexmap" ,rust-indexmap-1)
+        ("rust-indexmap" ,rust-indexmap-1.7)
         ("rust-itertools" ,rust-itertools-0.10)
         ("rust-jod-thread" ,rust-jod-thread-0.1)
         ("rust-libc" ,rust-libc-0.2)
@@ -1858,7 +1856,7 @@ (define-public rust-analyzer
         ("rust-once-cell" ,rust-once-cell-1)
         ("rust-parking-lot" ,rust-parking-lot-0.11)
         ("rust-perf-event" ,rust-perf-event-0.4)
-        ("rust-proc-macro2" ,rust-proc-macro2-1)
+        ("rust-proc-macro2" ,rust-proc-macro2-1.0.34)
         ("rust-pulldown-cmark" ,rust-pulldown-cmark-0.8)
         ("rust-pulldown-cmark-to-cmark" ,rust-pulldown-cmark-to-cmark-7)
         ("rust-rowan" ,rust-rowan-0.15)
@@ -1867,7 +1865,7 @@ (define-public rust-analyzer
         ("rust-salsa" ,rust-salsa-0.17)
         ("rust-scoped-tls" ,rust-scoped-tls-1)
         ("rust-serde" ,rust-serde-1)
-        ("rust-serde-json" ,rust-serde-json-1)
+        ("rust-serde-json" ,rust-serde-json-1.0.73)
         ("rust-serde-path-to-error" ,rust-serde-path-to-error-0.1)
         ("rust-typed-arena" ,rust-typed-arena-2)
         ("rust-smallvec" ,rust-smallvec-1)
-- 
2.41.0