aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_project_model/src/lib.rs
Commit message (Collapse)AuthorAgeFilesLines
* replace todo with fixmeAleksey Kladov2019-03-231-1/+1
|
* Move actual include logic to ProjectRootVille Penttinen2019-03-211-3/+27
| | | | | 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.
* Rename and change `add_roots` to return a `Vec`.David Wood2019-03-071-1/+6
|
* Initial implementation of project-lock.json.David Wood2019-03-071-69/+169
| | | | | 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-131-5/+1
| | | | crate_graph macro
* Keep track of crate editionFlorian Diebold2019-02-131-3/+9
|
* Clean up a bitFlorian Diebold2019-02-091-1/+1
|
* Remove Vfs from project modelFlorian Diebold2019-02-091-6/+3
|
* Remove SmolStr from project modelFlorian Diebold2019-02-091-2/+2
|
* Move crate graph generation to ra_project_modelFlorian Diebold2019-02-091-0/+88
|
* Extract project model to separate crateFlorian Diebold2019-02-091-0/+45