rust-analyzer/crates
bors[bot] 5148d6dc66
Merge #4405
4405: Make some stuff public so that they can be reused by other tools r=pksunkara a=pksunkara

So, my little experiment of building a code analysis tool using rust-analyzer is successful. I am going to proceed to build the tool now. This PR makes the needed things public.

I know there were some things about trying to change stuff regarding loading workspaces, which would make it more easier for other tools to reuse. But, until then, it should be okay using this `load_cargo` fn.

Btw, if I were publish my tool, I would need the `ra` crates to be released. Since @matklad told me that he doesn't want to care about breaking stuff, I would propose the following.

Every monday, during the weekly release, we release a new pre v1 minor version of all the crates. That way, we don't need to care about breaking stuff but still have rust-analyzer on crates.io.

I made https://github.com/pksunkara/cargo-workspaces to help release workspace crates easily.

So, coming week, we start with `0.1.0`, then week after that, we release `0.2.0` and then `0.3.0` etc.. until we decide on `1.0.0` which is probably when the compiler team also starts using the crates. There is no limit to the minor versions (we can even have `0.150.0` or `0.1500.0`), so I don't see anything wrong with this strategy.

Co-authored-by: Pavan Kumar Sunkara <pavan.sss1991@gmail.com>
2020-05-14 09:23:34 +00:00
..
ra_arena Extract messy tree handling out of profiling code 2020-04-25 21:22:40 +02:00
ra_assists Use back ticks instead of single quotes around code 2020-05-14 01:06:07 +02:00
ra_cfg Move feature desugaring to the right abstraction layer 2020-05-08 02:56:53 +02:00
ra_db Add fixture doc comment 2020-05-06 18:09:28 +02:00
ra_flycheck Use back ticks instead of single quotes around code 2020-05-14 01:06:07 +02:00
ra_fmt Introduce EffectExpr 2020-05-02 11:21:39 +02:00
ra_hir Merge #4421 2020-05-11 12:21:08 +00:00
ra_hir_def Highlight mutable statics as mutable 2020-05-10 16:25:51 +01:00
ra_hir_expand fix typo unimplementated -> unimplemented 2020-05-12 23:51:38 +02:00
ra_hir_ty Merge #4394 #4414 2020-05-10 17:47:27 +00:00
ra_ide Make some stuff public so that they can be reused by other tools 2020-05-14 11:14:46 +02:00
ra_ide_db New definition_visibility method 2020-05-11 14:28:14 +03:00
ra_mbe Rename ImplItem to AssocItem 2020-05-05 23:56:10 +08:00
ra_parser Fix parsing of blocks without { 2020-05-02 14:35:17 +02:00
ra_proc_macro proc_macro: add ability to log to stderr and view output in vscode 2020-04-23 01:57:02 +03:00
ra_proc_macro_srv Remove dbg 2020-05-10 06:39:36 +08:00
ra_prof Simplify profiler impl (bubble up Option and shorten code 2020-04-26 00:55:49 +03:00
ra_project_model Make some stuff public so that they can be reused by other tools 2020-05-14 11:14:46 +02:00
ra_syntax Use back ticks instead of single quotes around code 2020-05-14 01:06:07 +02:00
ra_text_edit Make some stuff public so that they can be reused by other tools 2020-05-14 11:14:46 +02:00
ra_toolchain Simplify match 2020-05-09 22:20:11 +03:00
ra_tt Improve tt::Subtree debug print 2020-04-10 00:17:32 +08:00
rust-analyzer Make some stuff public so that they can be reused by other tools 2020-05-14 11:14:46 +02:00
stdx Move snake case method to heck 2020-05-03 21:35:21 +03:00
test_utils unindent -> dedent 2020-05-09 14:48:43 +02:00