aboutsummaryrefslogtreecommitdiff
path: root/crates/project_model/src/lib.rs
Commit message (Collapse)AuthorAgeFilesLines
* Add more docsAleksey Kladov2021-05-221-1/+16
|
* Allow automatically detect the rustc-src directory (fixes #3517).Benjamin Bouvier2021-02-131-2/+2
| | | | | If the configured rustcSource is set to "discover", try to automatically detect a source from the sysroot rustc directory.
* Async Loading outdir and proc-macroEdwin Cheng2021-01-281-0/+1
|
* Refactor build script dataEdwin Cheng2021-01-221-0/+1
|
* Avoid blocking the main loop when editing Cargo.tomlAleksey Kladov2021-01-181-0/+1
| | | | | | | | | | I've noticed a bunch of "main loop too long" warnings in console when typing in Cargo.toml. Profiling showed that the culprit is `rustc --print cfg` call. I moved it to the background project loading phase, where it belongs. This highlighted a problem: we generally use single `cfg`, while it really should be per crate.
* Make `PackageData`, `TargetData` and `PackageDependency` publicArnaud2021-01-061-2/+5
| | | | | This makes them discoverable through documentation. They were already publicly accessible through `Package` and `Target`.
* Move tricky workspace logic to a separate moduleAleksey Kladov2020-11-131-602/+4
|
* Address review commentsXavier Denis2020-11-121-3/+2
|
* Reorder rustc_private loadingXavier Denis2020-11-111-87/+86
|
* Add support for loading rustc private cratesXavier Denis2020-11-111-67/+206
|
* Support Display name in project.jsonAleksey Kladov2020-10-201-2/+1
|
* More type safety around namesAleksey Kladov2020-10-201-3/+5
|
* Add a hacky remidy for #6038Aleksey Kladov2020-10-201-0/+5
| | | | | | | The proper fix I think is: * move rust-lang/rust library crates to a separate workspace * when packaging rust-src component, vendor sources of external deps
* Fix the hover dash issuesKirill Bulatov2020-10-021-2/+3
|
* Log failure to load crate root fileJonas Schievink2020-09-181-1/+7
|
* Report better errors in project.json/sysrootJonas Schievink2020-09-111-10/+22
|
* Add sysroot shortcut to rust-project.jsonAleksey Kladov2020-08-251-16/+49
|
* Don't expose indexing detailsAleksey Kladov2020-08-251-23/+13
|
* Prepare to share sysroot lowering code between Cargo & ProjectJSONAleksey Kladov2020-08-251-92/+66
|
* Prep work for overriding sysrootAleksey Kladov2020-08-251-1/+1
| | | | | The idea here is to make auto-discovery optional, and to allow to set the path to sysroot directly. This is handy for JSON projects.
* Improve loggingAleksey Kladov2020-08-251-1/+15
|
* Better error if Cargo is not in PathAleksey Kladov2020-08-191-2/+9
|
* Rename ra_db -> base_dbAleksey Kladov2020-08-131-1/+1
|
* Rename ra_proc_macro -> proc_macro_apiAleksey Kladov2020-08-131-1/+1
|
* Rename ra_project_model -> project_modelPavan Kumar Sunkara2020-08-131-0/+544