aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_project_model/src/cargo_workspace.rs
Commit message (Collapse)AuthorAgeFilesLines
* Unique package by name and version.o0Ignition0o2020-04-021-4/+5
| | | | | This commit is a fixup of a bug I introduced by using a PackageId to refer to a crate when its name conflicts with a dependency. It turns out the package id currently is `name version path` while cargo expects `name:version` as argument.
* Reduce scope of deserializationAleksey Kladov2020-04-011-12/+8
|
* Move all config to configAleksey Kladov2020-04-011-0/+1
|
* Reduce depsAleksey Kladov2020-03-311-36/+39
|
* Rename cargo_watch -> flycheckAleksey Kladov2020-03-311-1/+1
|
* Use matches in is_dylibEdwin Cheng2020-03-311-11/+3
|
* Implement ra_proc_macro client logicEdwin Cheng2020-03-311-1/+21
|
* Add crate versions when running cargo -p commands.o0Ignition0o2020-03-311-0/+14
| | | | | | | Until now cargo commands with the -p flag would pass the package name only. It doesn't play super well with the toml Renaming dependencies feature. This commit specifies the package name and version when a cargo command is run with the -p flag, to avoid ambiguities.
* Add ProcMacroClientEdwin Cheng2020-03-251-8/+23
|
* ra_cargo_watch: return Result<> from run_cargo(), and don't read stderr for nowveetaha2020-03-211-14/+13
| | | | | | | | | | | | | | As stated by matklad, reading the stderr should be done alngside with stdout via select() (or I guess poll()), there is no such implementation in stdlib, since it is quite low level and platform-dependent and it also requires quite a bit of unrelated code we don't use it for now. As referenced by bjorn3, there is an implementation of the needed read2() function in rustc compiletest. The better solution will be to extract this function to a separate crate in future: https://github.com/rust-analyzer/rust-analyzer/pull/3632#discussion_r395605298
* Simplify Arena to use a generic indexAleksey Kladov2020-03-191-9/+5
|
* More direct CargoWorkspaceAleksey Kladov2020-03-191-64/+41
|
* Use dyn-ref instead of impl to impact compile times the leastEmil Lauridsen2020-03-171-1/+1
|
* Slight readablity improvementEmil Lauridsen2020-03-171-1/+1
|
* Remove outDirOverridesEmil Lauridsen2020-03-171-8/+0
|
* Change existing OUT_DIR override config to make use of new infrastructureEmil Lauridsen2020-03-171-0/+8
|
* Support loading OUT_DIR from cargo check at launchEmil Lauridsen2020-03-171-2/+65
|
* More manual clippy fixesKirill Bulatov2020-02-181-1/+1
|
* Run cargo +nightly fix --clippy -Z unstable-optionsKirill Bulatov2020-02-181-1/+1
|
* Add error context to failures in `ra_project_model` using `anyhow` crate (#3119)Adam Bratschi-Kaye2020-02-131-4/+7
| | | Add error context to failures in ra_project_model using anyhow crate
* Add a FIXME noteAleksey Kladov2020-01-301-0/+3
|
* Ignore illform node id from metadataEdwin Cheng2020-01-281-2/+18
|
* Address nitEmil Lauridsen2020-01-101-1/+5
|
* Slightly more robust cargo watcher root searchEmil Lauridsen2020-01-101-1/+1
|
* Only add features flags if non-emptyEdwin Cheng2019-12-231-1/+1
|
* Use all-features by defaultAleksey Kladov2019-12-141-1/+7
|
* Support setting cargo featuresoxalica2019-12-131-2/+29
|
* add proc-macro crate type handlingJasperDeSutter2019-11-241-0/+8
|
* Cleanup errorsAleksey Kladov2019-11-221-3/+1
|
* return Error instead of panicking in from_cargo_metadataMetabaron2019-11-121-7/+8
|
* Implement FromStr for enum EditionMetabaron2019-11-121-2/+5
|
* Read default cfgs from rustcuHOOCCOOHu2019-10-021-0/+6
|
* Added test for check doc strings in crates.Alexander Andreev2019-09-301-0/+2
| | | | #1856
* cleanupAleksey Kladov2019-08-061-1/+1
|
* allow rustfmt to reorder importsAleksey Kladov2019-07-041-3/+3
| | | | | | This wasn't a right decision in the first place, the feature flag was broken in the last rustfmt release, and syntax highlighting of imports is more important anyway
* Get rid of failure: ra_lsp_server & ra_project_modelMuhammad Mominul Huque2019-06-141-2/+1
|
* Fix clippy::identity_conversionAlan Du2019-06-041-4/+3
|
* Sends cwd info for runnables and code lensesRoberto Vidal2019-04-141-1/+2
|
* Make edition handling a bit nicer and allow specifying edition in ↵Florian Diebold2019-02-131-4/+5
| | | | crate_graph macro
* Keep track of crate editionFlorian Diebold2019-02-131-0/+5
|
* Fix some typosPascal Hertleif2019-02-121-1/+1
|
* Remove SmolStr from project modelFlorian Diebold2019-02-091-4/+3
|
* Extract project model to separate crateFlorian Diebold2019-02-091-0/+173