Closed alexreg closed 8 years ago
DK told me he had a slightly different plan, that macro based derives could use the syntax #[derive(Foo!, Bar!(A, B, C))]
.
Any updates on this?
Ok, this is resolved by the publication of macro-attr
v0.2.0, which replaces the custom_derive
crate.
I changed the name because it wasn't really just about derivations any more.
This has the benefit that it allows for arbitrary "ordinary" derives to be given using the regular
derive
attribute. This notably includes the Serde derive attributes. Special support for built-in attributes is no longer necessary. The documentation has been updated appropriately.