aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_project_model
Commit message (Collapse)AuthorAgeFilesLines
* replace todo with fixmeAleksey Kladov2019-03-231-1/+1
|
* Move actual include logic to ProjectRootVille Penttinen2019-03-212-3/+28
| | | | | This way the two IncludeRustFiles implementations can simply call the ProjectRoots' methods, so that the include logic is in one place.
* Improve filtering of file rootsVille Penttinen2019-03-201-4/+33
| | | | | | | | | `ProjectWorkspace::to_roots` now returns a new `ProjectRoot` which contains information regarding whether or not the given path is part of the current workspace or an external dependency. This information can then be used in `ra_batch` and `ra_lsp_server` to implement more advanced filtering. This allows us to filter some unnecessary folders from external dependencies such as tests, examples and benches.
* Specify derive feature for serdepcpthm2019-03-071-1/+1
|
* Rename and change `add_roots` to return a `Vec`.David Wood2019-03-071-1/+6
|
* Initial implementation of project-lock.json.David Wood2019-03-073-69/+221
| | | | | This commit adds a initial implementation of project-lock.json, a build system agnostic method of specifying the crate graph and roots.
* Make edition handling a bit nicer and allow specifying edition in ↵Florian Diebold2019-02-132-9/+6
| | | | crate_graph macro
* Keep track of crate editionFlorian Diebold2019-02-132-3/+14
|
* Fix some typosPascal Hertleif2019-02-121-1/+1
|
* Fix typo in Cargo.toml authorsVille Penttinen2019-02-111-1/+1
| | | | Fixes typo introduced in #782
* Update authors field in Cargo.tomls to "rust-analyzer developers"Ville Penttinen2019-02-111-1/+1
| | | | This closes #777
* Clean up a bitFlorian Diebold2019-02-092-3/+1
|
* Remove Vfs from project modelFlorian Diebold2019-02-092-7/+3
|
* Remove SmolStr from project modelFlorian Diebold2019-02-094-18/+7
|
* Move crate graph generation to ra_project_modelFlorian Diebold2019-02-092-1/+91
|
* Extract project model to separate crateFlorian Diebold2019-02-094-0/+386