Expand description
Client-side Proc-Macro crate
We separate proc-macro expanding logic to an extern program to allow different implementations (e.g. wasm or dylib loading). And this crate is used to provide basic infrastructure for communication between two processes: Client (RA itself), Server (the external program)
Modules§
- legacy_
protocol - The initial proc-macro-srv protocol, soon to be deprecated.
- version
- The versions of the server protocol
Structs§
- Macro
Dylib - Represents a dynamically loaded library containing procedural macros.
- Proc
Macro - A handle to a specific proc-macro (a
#[proc_macro]
annotated function). - Proc
Macro Client - A handle to an external process which load dylibs with macros (.so or .dll) and runs actual macro expansion functions.
- Server
Error - Represents errors encountered when communicating with the proc-macro server.
Enums§
- Proc
Macro Kind - Represents different kinds of procedural macros that can be expanded by the external server.