aboutsummaryrefslogtreecommitdiff
path: root/crates/proc_macro_api
Commit message (Collapse)AuthorAgeFilesLines
* Bump objectLaurențiu Nicola2021-05-241-1/+1
|
* Replace `memmap` to `memmap2` in `proc_macro_api`memoryruins2021-05-042-2/+2
|
* Add profiling spans under cargo_to_crate_graphLaurențiu Nicola2021-04-222-3/+5
|
* Trim down IPC json sizeEdwin Cheng2021-03-241-4/+26
|
* Improve message usage in proc-macroEdwin Cheng2021-03-232-6/+13
| | | | Reuse storage for the buffer send to child process of proc-macro.
* Ignore proc-macro stdout to prevent IPC crashEdwin Cheng2021-03-231-7/+18
|
* remove uselessly wrapped ?s. (clippy::meedless_question_markMatthias Krüger2021-03-171-1/+1
| | | | | | | | let x = Some(3); let y = Some(x?); can just be: let y = x
* avoid converting types into themselves via .into() (clippy::useless-conversion)Matthias Krüger2021-03-171-7/+4
| | | | example: let x: String = String::from("hello world").into();
* Add test for proc-macro meta info retrievalEdwin Cheng2021-03-152-7/+9
|
* some clippy::performance fixesMatthias Krüger2021-03-151-2/+2
| | | | | | | use vec![] instead of Vec::new() + push() avoid redundant clones use chars instead of &str for single char patterns in ends_with() and starts_with() allocate some Vecs with capacity to avoid unneccessary resizing
* use doc-commentsEdwin Cheng2021-03-091-21/+22
|
* Print warning if proc-macro built by old rustcEdwin Cheng2021-03-042-73/+148
|
* Revise error message regarding metadata versionJay Somedon2021-03-041-10/+6
| | | | Co-authored-by: Laurențiu Nicola <[email protected]>
* Update condition check code styleJay Somedon2021-03-041-1/+1
| | | Co-authored-by: Jonas Schievink <[email protected]>
* Update commentJay Somedon2021-03-041-1/+1
| | | Co-authored-by: Jonas Schievink <[email protected]>
* Fix multiple issues from code reviewJay Somedon2021-03-042-15/+30
| | | | | | | | * check metadata version * use memmap * use Result instead of unwrap with Jay Somedon <[email protected]>
* Configure object crate's featureJay Somedon2021-03-041-1/+1
| | | | Signed-off-by: Jay Somedon <[email protected]>
* Read version of rustc that compiled proc macroJay Somedon2021-03-042-10/+74
| | | | With Jay Somedon <[email protected]>
* Remove redundant clonesYoshua Wuyts2021-02-051-1/+1
|
* Reap proc macro server instancesLaurențiu Nicola2021-02-012-8/+4
|
* Enable serde_json unbounded_depth featureLaurențiu Nicola2021-01-181-1/+1
|
* Fixed typos in code commentsVincent Esche2021-01-091-1/+1
|
* Remove serde_stacker which depends on ccEdwin Cheng2021-01-012-3/+1
|
* Fix deep syntax tree bug generated by proc-macroEdwin Cheng2021-01-013-4/+13
|
* Pass crate environment to proc macrosJonas Schievink2020-12-272-1/+7
|
* Move TokenExpander to base_db and rename itJonas Schievink2020-12-271-2/+2
| | | | It's only used to break the dependency to proc_macro_api
* Remove dummy ProcMacroClient in favor of OptionJonas Schievink2020-12-071-45/+28
|
* Retain types of proc macros and allow attr. macrosJonas Schievink2020-12-073-17/+19
|
* Make `ProcMacroProcessExpander` privateJonas Schievink2020-12-071-1/+1
|
* ProcMacroProcessExpander: support attribute macrosJonas Schievink2020-12-072-21/+11
|
* Don't respawn proc macro server on crashJonas Schievink2020-12-041-26/+15
|
* Unwrap `process.stdio()` resultJonas Schievink2020-12-041-4/+1
| | | | If this is ever `None` here, that's a bug
* Destructure in for loopJonas Schievink2020-12-041-3/+1
|
* Remove unnecessary `Option`Jonas Schievink2020-12-041-8/+3
|
* Deny unreachable-pubAleksey Kladov2020-11-022-21/+21
| | | | | | | | It's very useful when `pub` is equivalent to "this is crate's public API", let's enforce this! Ideally, we should enforce it for local `cargo test`, and only during CI, but that needs https://github.com/rust-lang/cargo/issues/5034.
* Bump crossbeam-channel in cratesLaurențiu Nicola2020-10-131-1/+1
|
* Add description for crates that will be publishedPavan Kumar Sunkara2020-08-241-0/+1
|
* Add version to deps in cargo.tomlPavan Kumar Sunkara2020-08-241-1/+1
|
* Hacky support for fn-like proc macrosJonas Schievink2020-08-151-3/+3
|
* Rename ra_ide -> ideAleksey Kladov2020-08-131-4/+3
|
* Rename ra_proc_macro -> proc_macro_apiAleksey Kladov2020-08-135-0/+687