Skip to content
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

Code Generation v2 #9

Open
11 of 14 tasks
thehydroimpulse opened this issue Apr 3, 2016 · 2 comments
Open
11 of 14 tasks

Code Generation v2 #9

thehydroimpulse opened this issue Apr 3, 2016 · 2 comments

Comments

@thehydroimpulse
Copy link
Owner

Now using procedural macros, here's the working list:

Code Generation

  • Namespace pub mod $x {}
    • pub visibility.
  • Enums
    • pub visibility.
    • Generate each variant.
    • enum { FOO = 123 }.
  • Structs
    • pub visibility.
    • Generate each variant.
    • Proper type mapping with generic support.
    • Attribute support (optional/required)
    • Implement the Serialize trait
  • Typedefs => type $X = $Y
  • Constants
@oleid
Copy link

oleid commented Jun 7, 2016

Thanks for bringing Thrift to rust! I just discovered Apache Thrift and I'm thinking about using Thrust in the near future for a litte project of mine -- just serialization to / deserialization from files for now. Would you consider Thrust stable enough for that purpose?

@thehydroimpulse
Copy link
Owner Author

@oleid Thrust isn't very stable atm and would require some more work to be fully usable. The serialization/deserialization is probably the more stable part but it doesn't support everything yet.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants