aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_project_model/src/project_json.rs
Commit message (Collapse)AuthorAgeFilesLines
* Require quotes around key-value cfg flags in rust-project.jsonAleksey Kladov2020-07-231-17/+6
| | | | This matches rustc command-line flags, as well as the build.rs format.
* Replace OUT_DIR in project.json with general envAleksey Kladov2020-07-211-4/+5
| | | | OUT_DIR doesn't make sense here, as this is a cargo-specific concept
* Replace roots with include/exclude directoriesAleksey Kladov2020-07-211-11/+23
|
* Add is_workspace_member for rust-project.jsonAleksey Kladov2020-07-201-24/+36
| | | | | | | | | | | It is currently unused, but, in the future, it will be used to: * drive certain UX (symbols search by default will look only in the members) * improve performance (rust-analyzer will assume that non-members change rarely) If not specified, is_workspace member is inferred from the path
* Add optional target to crates in json project, lookup default cfgs per ↵Paul Daniel Faria2020-07-041-0/+3
| | | | target when generating cfg list
* Automatically reload project on config changeAleksey Kladov2020-07-011-3/+3
|
* Use CrateName for semantic namesAleksey Kladov2020-07-011-4/+13
|
* Cleanup project.json deserializationAleksey Kladov2020-06-241-59/+81
|
* Rename json_project -> project_jsonAleksey Kladov2020-06-241-0/+95