Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
Sign upExport proc-macros directly from main crate #71
Comments
This comment has been minimized.
This comment has been minimized.
|
Can you link to the trick? |
This comment has been minimized.
This comment has been minimized.
TedDriggs
commented
Nov 27, 2017
•
This comment has been minimized.
This comment has been minimized.
|
Interesting! This is technically an unstable feature we accidentally allowed through on stable. I'll think about doing this. |
This was referenced Nov 28, 2017
withoutboats
closed this
in
#81
Nov 28, 2017
Celti
referenced this issue
Dec 4, 2017
Closed
Question : `#[derive(FromForm)]` requires `#![feature(custom_derive)]` #468
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
TedDriggs commentedNov 22, 2017
There's a trick that can export traits and proc macros from one crate. Using this would make the dependency declaration cleaner, and could be gated on a default feature for people who don't need the macros.