about summary refs log tree commit diff
path: root/src/tools/rust-analyzer/Cargo.lock
AgeCommit message (Collapse)AuthorLines
2024-09-25Bump rustc cratesLaurențiu Nicola-12/+12
2024-09-19Support the `${concat(...)}` metavariable expressionChayim Refael Friedman-0/+1
I didn't follow rustc precisely, because I think it does some things wrongly (or they are FIXME), but I only allowed more code, not less. So we're all fine.
2024-09-06Bump lsp-serverLukas Wirth-6/+6
2024-09-06fix: Don't panic lsp writer thread on dropped receiverLukas Wirth-6/+6
2024-09-04Parse builtin#asm expressionsLukas Wirth-0/+1
2024-09-03Bump smol_strLukas Wirth-3/+19
2024-09-01internal: Lay basic ground work for standalone mbe testsLukas Wirth-0/+1
2024-08-16Auto merge of #17907 - ChayimFriedman2:no-once_cell, r=Veykrilbors-7/+0
internal: Replace once_cell with std's recently stabilized OnceCell/Lock and LazyCell/Lock This doesn't get rid of the once_cell dependency, unfortunately, since we have dependencies that use it, but it's a nice to do cleanup. And when our deps will eventually get rid of once_cell we will get rid of it for free.
2024-08-16Replace once_cell with std's recently stabilized OnceCell/Lock and LazyCell/LockChayim Refael Friedman-7/+0
This doesn't get rid of the once_cell dependency, unfortunately, since we have dependencies that use it, but it's a nice to do cleanup. And when our deps will eventually get rid of once_cell we will get rid of it for free.
2024-08-13Bump `rustc_pattern_analysis`Shoyu Vanilla-13/+12
2024-08-12Auto merge of #17861 - Veykril:bump-lock, r=Veykrilbors-134/+160
minor: Bump lockfile
2024-08-12minor: Bump lockfileLukas Wirth-134/+160
2024-08-09Use Sender instead of boxed closure in vfsmo8it-0/+1
2024-08-08Move flycheck crate into rust-analyzer main crateLukas Wirth-18/+2
2024-08-05Auto merge of #17771 - Veykril:parallel-vfs-config, r=Veykrilbors-0/+2
internal: Load VFS config changes in parallel Simple attempt to make some progress f or https://github.com/rust-lang/rust-analyzer/issues/17373 No clue if those atomic orderings are right, though I don't think they are really too relevant either. A more complete fix would probably need to replace our `ProjectFolders` handling a bit.
2024-08-05Slightly optimize watch list in vfsLukas Wirth-0/+1
2024-08-05Auto merge of #17799 - Veykril:syntax-bridge, r=Veykrilbors-3/+21
Split out syntax-bridge into a separate crate This functionality is not really tied to mbe macros, so imo it has no place in that crate.
2024-08-05Newtype ErasedFileAstIdLukas Wirth-2/+1
2024-08-05Split out syntax-bridge into a separate crateLukas Wirth-3/+21
2024-08-02internal: Load VFS config changes in parallelLukas Wirth-0/+1
2024-08-02internal: Remove AbsPathBuf::TryFrom impl that checks too many things at onceLukas Wirth-0/+1
2024-07-18feature: move `linked_projects` discovery to the rust-analyzer serverDavid Barsky-63/+64
2024-07-16Remove Name::to_smol_strLukas Wirth-0/+1
2024-07-16More symbol usageLukas Wirth-0/+1
2024-07-16Use symbol in cfgLukas Wirth-1/+3
2024-07-16Switch token trees to use SymbolsLukas Wirth-2/+6
2024-07-15Fix incorrect encoding of literals in the proc-macro-api on version 4Lukas Wirth-1/+2
2024-07-15Encode ident rawness and literal kind separately in tt::LeafLukas Wirth-0/+1
2024-07-12Implement rough symbol interning infraLukas Wirth-0/+7
2024-07-10Add `f16` and `f128` supportbeetrees-8/+12
2024-07-07Drop sourcegenLukas Wirth-8/+0
2024-07-07Move feature-doc generation to xtask codegenLukas Wirth-1/+0
2024-07-07Drop unused profile thingsLukas Wirth-10/+0
2024-06-30Bump rustc_pattern_analysisLukas Wirth-30/+7
2024-06-30Remove serde flag from indexmap dependencyLukas Wirth-2/+0
2024-06-30SimplifyLukas Wirth-1/+0
2024-06-30Move dylib version stuff to proc-macro-srvLukas Wirth-3/+1
2024-06-24move tt-iter into tt crateLukas Wirth-0/+1
2024-06-24Shrink mbe's OpLukas Wirth-0/+1
2024-06-11internal: simplify and refactor write_where_clauseroife-0/+1
2024-06-07Auto merge of #17058 - alibektas:13529/ratoml, r=Veykrilbors-0/+10
feat: TOML based config for rust-analyzer > Important > > We don't promise _**any**_ stability with this feature yet, any configs exposed may be removed again, the grouping may change etc. # TOML Based Config for RA This PR ( addresses #13529 and this is a follow-up PR on #16639 ) makes rust-analyzer configurable by configuration files called `rust-analyzer.toml`. Files **must** be named `rust-analyzer.toml`. There is not a strict rule regarding where the files should be placed, but it is recommended to put them near a file that triggers server to start (i.e., `Cargo.{toml,lock}`, `rust-project.json`). ## Configuration Types Previous configuration keys are now split into three different classes. 1. Client keys: These keys only make sense when set by the client (e.g., by setting them in `settings.json` in VSCode). They are but a small portion of this list. One such example is `rust_analyzer.files_watcher`, based on which either the client or the server will be responsible for watching for changes made to project files. 2. Global keys: These keys apply to the entire workspace and can only be set on the very top layers of the hierarchy. The next section gives instructions on which layers these are. 3. Local keys: Keys that can be changed for each crate if desired. ### How Am I Supposed To Know If A Config Is Gl/Loc/Cl ? #17101 ## Configuration Hierarchy There are 5 levels in the configuration hierarchy. When a key is searched for, it is searched in a bottom-up depth-first fashion. ### Default Configuration **Scope**: Global, Local, and Client This is a hard-coded set of configurations. When a configuration key could not be found, then its default value applies. ### User configuration **Scope**: Global, Local If you want your configurations to apply to **every** project you have, you can do so by setting them in your `$CONFIG_DIR/rust-analyzer/rust-analyzer.toml` file, where `$CONFIG_DIR` is : | Platform | Value | Example | | ------- | ------------------------------------- | ---------------------------------------- | | Linux | `$XDG_CONFIG_HOME` or `$HOME`/.config | /home/alice/.config | | macOS | `$HOME`/Library/Application Support | /Users/Alice/Library/Application Support | | Windows | `{FOLDERID_RoamingAppData}` | C:\Users\Alice\AppData\Roaming | ### Client configuration **Scope**: Global, Local, and Client Previously, the only way to configure rust-analyzer was to configure it from the settings of the Client you are using. This level corresponds to that. > With this PR, you don't need to port anything to benefit from new features. You can continue to use your old settings as they are. ### Workspace Root Configuration **Scope**: Global, Local Rust-analyzer already used the path of the workspace you opened in your Client. We used this information to create a configuration file that won't affect your other projects and define global level configurations at the same time. ### Local Configuration **Scope**: Local You can also configure rust-analyzer on a crate level. Although it is not an error to define global ( or client ) level keys in such files, they won't be taken into consideration by the server. Defined local keys will affect the crate in which they are defined and crate's descendants. Internally, a Rust project is split into what we call `SourceRoot`s. This, although with exceptions, is equal to splitting a project into crates. > You may choose to have more than one `rust-analyzer.toml` files within a `SourceRoot`, but among them, the one closer to the project root will be
2024-06-05chore: Update Cargo.lock to avoid yanked versionWilfred Hughes-2/+2
2024-06-05Apply suggested changesAli Bektas-0/+10
2024-05-31minor: replace command-group with process-wrapHenry Chen-38/+60
Because command-group no longer receives updates and depends on an older version of nix.
2024-05-19Bump rustc cratesLaurențiu Nicola-11/+34
2024-05-14Bump Cargo.lockLukas Wirth-139/+162
2024-05-01Update rust-analyzer to use windows-sys crateKenny Kerr-3/+3
2024-04-22Auto merge of #17102 - ↵bors-0/+1
davidbarsky:david/add-some-tracing-to-project-loading, r=lnicola chore: add some `tracing` to project loading I wanted to see what's happening during project loading and if it could be parallelized. I'm thinking maybe, but it's not this PR :)
2024-04-22chore: add some `tracing` to project loadingDavid Barsky-0/+2527
2024-04-21Use josh for subtree syncsLaurențiu Nicola-0/+2575