-
Notifications
You must be signed in to change notification settings - Fork 70
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Proc macro server API #1678
Proc macro server API #1678
Conversation
homepage.workspace = true | ||
license.workspace = true | ||
readme.workspace = true | ||
repository.workspace = true |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if this is going to land on crates.io, then this is missing description and dedicated readme
|
||
pub type RequestId = u64; | ||
|
||
#[derive(Serialize, Deserialize)] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
doc all of these
use std::iter::Sum; | ||
|
||
#[derive(Debug, Default, Serialize, Deserialize)] | ||
pub struct DefinedMacrosResponse { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
doc all of these
use serde::{Deserialize, Serialize}; | ||
|
||
#[derive(Debug, Serialize, Deserialize, Clone, PartialEq, Eq, Hash)] | ||
pub struct ExpandAttributeParams { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
doc all of these
pub mod expand; | ||
|
||
#[derive(Debug, Clone, Default, PartialEq, Eq, Hash, Serialize, Deserialize)] | ||
pub struct ProcMacroResult { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
doc all of these
7e4347c
to
b07cfb1
Compare
0b9efa9
to
0a3324e
Compare
Some spr issues, please continue here #1715 |
Stack:
ExpandInline
handler #1686ExpandDerive
handler #1685ExpandAttribute
handler #1684DefinedMacros
handler #1683ProcMacroHost
#1680proc-macro-server
command #1679cairo-lang-macro
fix null-byte panics #1677cairo-lang-macro
#1676