DanielKeep / rust-custom-derive

Custom derivation macro for Rust
Other
110 stars 17 forks source link

Changed attribute name to `custom_derive`. #24

Closed alexreg closed 8 years ago

alexreg commented 8 years ago

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.

bluss commented 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))].

alexreg commented 8 years ago

Any updates on this?

bluss commented 8 years ago

See https://github.com/DanielKeep/rust-custom-derive/issues/25

DanielKeep commented 8 years ago

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.