sublimelsp / LSP-rust-analyzer

Convenience package for rust-analyzer
MIT License
70 stars 10 forks source link

update rust-analyzer to 2024-12-02 #146

Closed sublimelsp-app[bot] closed 1 day ago

sublimelsp-app[bot] commented 1 day ago

Update rust-analyzer from 2024-11-25 to 2024-12-02 (see all changes).

github-actions[bot] commented 1 day ago

Following are the settings schema changes between tags 2024-11-25 and 2024-12-02. Make sure that those are reflected in LSP-rust-analyzer.sublime-settings and sublime-package.json files.

--- /dev/fd/63  2024-12-02 08:35:28.344098511 +0000
+++ /dev/fd/62  2024-12-02 08:35:28.344098511 +0000
@@ -496,6 +496,24 @@
   {
     "title": "cargo",
     "properties": {
+      "rust-analyzer.cargo.sysrootQueryMetadata": {
+        "markdownDescription": "How to query metadata for the sysroot crate. Using cargo metadata allows rust-analyzer\nto analyze third-party dependencies of the standard libraries.",
+        "default": "cargo_metadata",
+        "type": "string",
+        "enum": [
+          "none",
+          "cargo_metadata"
+        ],
+        "enumDescriptions": [
+          "Do not query sysroot metadata, always use stitched sysroot.",
+          "Use `cargo metadata` to query sysroot metadata."
+        ]
+      }
+    }
+  },
+  {
+    "title": "cargo",
+    "properties": {
       "rust-analyzer.cargo.sysrootSrc": {
         "markdownDescription": "Relative path to the sysroot library sources. If left unset, this will default to\n`{cargo.sysroot}/lib/rustlib/src/rust/library`.\n\nThis option does not take effect until rust-analyzer is restarted.",
         "default": null,