thrust
thrust copied to clipboard
Code Generation v2
trafficstars
Now using procedural macros, here's the working list:
Code Generation
- [x] Namespace
pub mod $x {}- [x]
pubvisibility.
- [x]
- [x] Enums
- [x]
pubvisibility. - [x] Generate each variant.
- [ ]
enum { FOO = 123 }.
- [x]
- [x] Structs
- [x]
pubvisibility. - [x] Generate each variant.
- [x] Proper type mapping with generic support.
- [x] Attribute support (optional/required)
- [ ] Implement the
Serializetrait
- [x]
- [x] Typedefs =>
type $X = $Y - [ ] Constants
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?
@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.