diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2020-03-31 15:30:24 +0100 |
---|---|---|
committer | GitHub <[email protected]> | 2020-03-31 15:30:24 +0100 |
commit | 7a546490ecb93b9da1cd888086f00a69ebd8d0aa (patch) | |
tree | 18c25777f7f0fad8f60f58bf7187db45fe3307fd /Cargo.lock | |
parent | fa3c7742af9fbfe5146f4158a6119fa727dcc87a (diff) | |
parent | 207903a1c33961c2014010f5678b1c6807e7f6d6 (diff) |
Merge #3738
3738: Implement ra_proc_macro client logic r=matklad a=edwin0cheng
This PR add the actual client logic for `ra_proc_macro` crate:
1. Define all necessary rpc serialization data structure, which include `ra_tt` related data and some task messages. Although adding `Serialize` and `Deserialize` trait to ra_tt directly seem to be much easier, we deliberately duplicate the `ra_tt` struct with `#[serde(with = "XXDef")]` for separation of code responsibility.
2. Define a simplified version of lsp base protocol for rpc, which basically copy from lsp-server code base.
3. Implement the actual `IO` for the client side progress spawning and message passing.
Co-authored-by: Edwin Cheng <[email protected]>
Diffstat (limited to 'Cargo.lock')
-rw-r--r-- | Cargo.lock | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Cargo.lock b/Cargo.lock index 196a37743..f618fcc3d 100644 --- a/Cargo.lock +++ b/Cargo.lock | |||
@@ -1075,7 +1075,12 @@ dependencies = [ | |||
1075 | name = "ra_proc_macro" | 1075 | name = "ra_proc_macro" |
1076 | version = "0.1.0" | 1076 | version = "0.1.0" |
1077 | dependencies = [ | 1077 | dependencies = [ |
1078 | "crossbeam-channel", | ||
1079 | "jod-thread", | ||
1080 | "log", | ||
1078 | "ra_tt", | 1081 | "ra_tt", |
1082 | "serde", | ||
1083 | "serde_json", | ||
1079 | ] | 1084 | ] |
1080 | 1085 | ||
1081 | [[package]] | 1086 | [[package]] |