aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_project_model/src/lib.rs
Commit message (Collapse)AuthorAgeFilesLines
* Remove code duplicatesChristophe MASSOLIN2020-05-051-12/+6
|
* Pass cargo.target to rustcChristophe MASSOLIN2020-05-051-5/+13
|
* Avoid lossy OsString conversionsLaurențiu Nicola2020-04-251-4/+8
|
* Unmix error handling when discovering workspacesAleksey Kladov2020-04-161-55/+23
| | | | | Hitting an io::Error is a legit problem. Finding more than one Cargo.toml is not.
* Decouple project loading from project discovery a bitAleksey Kladov2020-04-161-100/+121
|
* Migrate to privacy as per review commetsveetaha2020-04-021-2/+8
|
* Less mutabilityveetaha2020-04-021-19/+23
|
* Migrate to iters some moreveetaha2020-04-021-18/+11
|
* Migrate to iteratorsveetaha2020-04-021-15/+3
|
* Simpify workspace handlingveetaha2020-04-021-29/+17
|
* Reduce scope of deserializationAleksey Kladov2020-04-011-3/+3
|
* Add ProcMacroClientEdwin Cheng2020-03-251-1/+40
|
* Use target-name for crate-nameEdwin Cheng2020-03-211-3/+3
|
* Simplify SysrootAleksey Kladov2020-03-191-5/+5
|
* More direct CargoWorkspaceAleksey Kladov2020-03-191-20/+20
|
* Support specifying OUT_DIR in json projectEmil Lauridsen2020-03-171-3/+21
|
* Change existing OUT_DIR override config to make use of new infrastructureEmil Lauridsen2020-03-171-22/+6
|
* Support loading OUT_DIR from cargo check at launchEmil Lauridsen2020-03-171-7/+36
|
* Fix crate display name dashesKirill Bulatov2020-03-161-2/+5
|
* Add extern sourceEdwin Cheng2020-03-111-3/+10
|
* Setup Env in worldEdwin Cheng2020-03-101-3/+15
|
* Consider crate declaration namesKirill Bulatov2020-03-081-6/+7
|
* keep one CargoTomlNotFoundErrornmio2020-02-291-28/+31
|
* remove code used for testingnmio2020-02-271-1/+1
|
* fix unneeded bodynmio2020-02-271-6/+2
|
* fixes and improvementsnmio2020-02-271-23/+49
|
* clean upnmio2020-02-251-7/+2
|
* Initial debugging codenmio2020-02-241-5/+42
|
* Add suggestion for failed path resolutionYoshua Wuyts2020-02-231-1/+1
| | | | This adds https://github.com/rust-analyzer/rust-analyzer/issues/3245 as an inline help text for when path resolution fails.
* More manual clippy fixesKirill Bulatov2020-02-181-29/+38
|
* Run cargo +nightly fix --clippy -Z unstable-optionsKirill Bulatov2020-02-181-1/+1
|
* Make AtomicX type resolve againAleksey Kladov2020-02-141-2/+4
|
* Add error context to failures in `ra_project_model` using `anyhow` crate (#3119)Adam Bratschi-Kaye2020-02-131-11/+40
| | | Add error context to failures in ra_project_model using anyhow crate
* Apply the reviews suggestionsKirill Bulatov2020-02-051-13/+30
|
* Address nitEmil Lauridsen2020-01-101-1/+1
|
* Remove unneeded Box::newWilco Kusee2020-01-081-1/+1
| | | Co-Authored-By: Aleksey Kladov <[email protected]>
* Derive debugWilco Kusee2020-01-081-7/+1
|
* Use downcasting for CargoTomlNotFoundErrorWilco Kusee2020-01-081-22/+30
|
* Allow disabling Cargo.toml not found errorWilco Kusee2020-01-031-2/+1
|
* Move error to new fileWilco Kusee2020-01-031-54/+4
|
* Split errors into WorkspaceError enumWilco Kusee2020-01-031-14/+73
|
* Support setting cargo featuresoxalica2019-12-131-5/+9
|
* Merge #2381bors[bot]2019-11-241-0/+17
|\ | | | | | | | | | | | | | | | | 2381: Add proc-macro crate type handling r=JasperDeSutter a=JasperDeSutter Resolves the libproc_macro crate in crates that are the proc-macro type. This doesn't seem the ideal implementation though, since the compiler still requires you to write `extern crate proc_macro;` (even in 2018 edition). Co-authored-by: JasperDeSutter <[email protected]>
| * add proc-macro crate type handlingJasperDeSutter2019-11-241-0/+17
| |
* | Add alloc to the sysrootMarco Groppo2019-11-241-0/+6
|/
* Add support for environment to CrateGraphAleksey Kladov2019-11-221-6/+19
|
* Overwrite the prelude with one defined in a later dependencyMatthias Einwag2019-11-101-0/+2
| | | | | | | This removes the special casing for the "core" prelude. Whenever a later dependency also exports a prelude, it will replace the formerly imported prelude. The utilized prelude then depends purely on import order.
* Resolve core typesMatthias Einwag2019-11-091-1/+7
| | | | | | | | | | | | | | | This adds support for completion and goto definition of types defined within the "core" crate. The core crate is added as a dependency to each crate in the project. The core crate exported it's own prelude. This caused now all crates to inherit the core crates prelude instead of the std crates. In order to avoid the problem the prelude resolution has been changed to overwrite an already resolved prelude if this was set to a crate named core - in order to pick a better prelude like std. Fixes #2199
* hard-code nightly-only CFGsAleksey Kladov2019-10-081-0/+8
|
* use slightly more idiomatic api for cfgAleksey Kladov2019-10-081-13/+23
|