about summary refs log tree commit diff
path: root/src/tools/rust-analyzer/Cargo.lock
AgeCommit message (Collapse)AuthorLines
2025-04-05Clean up `rustc-literal-escaper` usage in rust-analyzerGuillaume Gomez-1/+0
2025-04-04Update `rustc-literal-escaper` version to `0.0.2`Guillaume Gomez-2/+2
2025-04-04Remove usage of `rustc_lexer::unescape` in rust-analyzerGuillaume Gomez-0/+8
2025-03-29fix: Fix, clarify and require a value for `proc_macro_cwd` of `CrateData`Lukas Wirth-0/+1
2025-03-24refactor: Replace custom `ThinVec` with `thin-vec` crateLukas Wirth-0/+7
2025-03-23Use zip/deflate-flate2 to avoid BSL-1.0 depLaurențiu Nicola-33/+0
2025-03-23chore: Bump dependenciesLukas Wirth-74/+128
2025-03-23chore: Remove unused dependenciesLukas Wirth-34/+1
2025-03-15chore: Drop legacy salsaLukas Wirth-103/+8
2025-03-12Salsify the crate graphChayim Refael Friedman-0/+1
I.e. make it not one giant input but multiple, for incrementality and decreased memory usage for Salsa 3 reasons.
2025-03-10internal: port rust-analyzer to new SalsaDavid Barsky-277/+578
2025-03-10internal(config): use `FxIndexMap` for default completion snippetsDavid Barsky-0/+2
2025-03-10Merge pull request #19305 from davidbarsky/davidbarsky/vendor-query-group-macroLukas Wirth-20/+345
internal: vendor `query-group-macro` in rust-analyzer
2025-03-10internal: vendor `query-group-macro`David Barsky-20/+345
2025-03-10Merge pull request #19331 from lnicola/sync-from-rustLaurențiu Nicola-15/+14
minor: Sync from downstream
2025-03-10Bump rustc cratesLaurențiu Nicola-15/+14
2025-03-09Bump chalk for built-in supports of async closuresShoyu Vanilla-8/+8
2025-03-03Bump rustc cratesLaurențiu Nicola-14/+14
2025-02-24Merge pull request #19219 from Veykril/push-rvosplwpwqqtLukas Wirth-4/+1
Vendor `always-assert` into `stdx`
2025-02-24Vendor always-assertLukas Wirth-4/+1
2025-02-24Add rustc_hashes and bump the othersLaurențiu Nicola-12/+30
2025-02-23Remove `limit` crate in favor `usize`Lukas Wirth-9/+0
2025-02-17Update lockfileLaurențiu Nicola-12/+12
2025-02-10Bump rustc cratesLaurențiu Nicola-12/+13
2025-02-05Bump proc-macro2 in xtaskLukas Wirth-2/+2
2025-01-29Update TentHash to version 1.0Nathan Vegdahl-2/+2
The TentHash spec was frozen Jan 1st 2025, and release 1.0 of the Rust crate is a minor cleanup as a follow-up to that, representing a commitment to API stability as well. The hash output remains the same as version 0.4, which rust-analyzer was previously using. The only API change was a struct rename.
2025-01-25Use `strict_provenance`Lukas Wirth-7/+0
2025-01-20Properly record meaningful imports as re-exports in symbol indexLukas Wirth-0/+1
2025-01-20Merge pull request #18981 from Fabian-Gruenbichler/proc-macro-srv-portabilityLaurențiu Nicola-0/+1
proc-macro-srv: make usage of RTLD_DEEPBIND portable
2025-01-20proc-macro-srv: make usage of RTLD_DEEPBIND portableFabian Grünbichler-0/+1
the constant is wrong on some platforms (e.g., on mips64el it's 0x10, and 0x8 is RTLD_NOLOAD which makes all this functionality broken), the libc crate takes care of those differences for us. fallback to not setting the flag in non-glibc environments - some of them might have support for it using a different value that we don't know about, and some of them lack it entirely. Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2025-01-20Bump rustc cratesLaurențiu Nicola-12/+12
2025-01-17Bump windows-sysLaurențiu Nicola-3/+3
2025-01-16update chalkWaffle Lapkin-8/+8
this brings in support from trait upcasting, yay! (and as such fixes a test)
2025-01-14Update `notify` to `8.0.0`Carson M.-24/+30
2025-01-02Store token trees in contiguous `Vec` instead of as a treeChayim Refael Friedman-0/+1
I expected this to be faster (due to less allocations and better cache locality), but benchmarked it is not (neither it is slower). Memory usage, however, drops by ~50mb (of `analysis-stats .`). I guess tt construction is just not hot. This also simplifies using even less memory for token trees by compressing equal span, which I plan to do right after. Some workflows are more easily expressed with a flat tt, while some are better expressed with a tree. With the right helpers, though (which was mostly a matter of trial and error), even the worst workflows become very easy indeed.
2024-12-30Decouple proc-macro server protocol from the server implementationLukas Wirth-1/+0
2024-12-23Bump rustc cratesLaurențiu Nicola-12/+12
2024-12-20internal: Split serde derive feature into `serde_derive` usageLukas Wirth-25/+18
Ideally we'd not have any dependency pull in the derive feature for faster build times, once that is the case this change would have an actual effect. See https://github.com/matklad/macro-dep-test/blob/master/README.md for context.
2024-12-18Remove salsa from proc-macro server dep treeLukas Wirth-2/+0
2024-12-11Properly handle different defaults for severity of lintsChayim Refael Friedman-0/+6
Previously all lints were assumed to be `#[warn]`, and we had a hand-coded list of `#[allow]` exceptions. Now the severity is autogenerated from rustdoc output. Also support lints that change status between editions, and the `warnings` lint group.
2024-12-11Bump rustc cratesLaurențiu Nicola-13/+12
2024-12-10Address the feedback from pascalkutheKirill Bulatov-0/+7
* Use Base64 to minify the hash representation in the JSON data * Do hash checks only for items with similar labels
2024-12-09Draft completion hashingKirill Bulatov-0/+8
2024-12-04Lay the foundation for diagnostics in ty lowering, and implement a first ↵Chayim Refael Friedman-0/+4
diagnostic The diagnostic implemented is a simple one (E0109). It serves as a test for the new foundation. This commit only implements diagnostics for type in bodies and body-carrying signatures; the next commit will include diagnostics in the rest of the things. Also fix one weird bug that was detected when implementing this that caused `Fn::(A, B) -> C` (which is a valid, if bizarre, alternative syntax to `Fn(A, B) -> C` to lower incorrectly. And also fix a maybe-bug where parentheses were sneaked into a code string needlessly; this was not detected until now because the parentheses were removed (by the make-AST family API), but with a change in this commit they are now inserted. So fix that too.
2024-11-28Bump rustc cratesLaurențiu Nicola-12/+12
2024-11-16Bump xshellLaurențiu Nicola-4/+4
2024-11-01Bump rustc cratesLaurențiu Nicola-12/+12
2024-10-31Remove support for compressed dylib metadata from rust-analyzerbjorn3-7/+0
2024-10-29Bump rustc cratesLaurențiu Nicola-12/+12
2024-10-28Merge pull request #18420 from ChayimFriedman2/cfg-true-falseLukas Wirth-0/+1
feat: Support `cfg(true)` and `cfg(false)`