-
-
Notifications
You must be signed in to change notification settings - Fork 20
Closed
Description
Hi, my library has a proc macro that generates code that uses #[derive(::my_library::RefCast)].
Here ::my_library::RefCast reexports ::ref_cast::RefCast, but sadly the RefCast macro generates hardcoded references to the ::ref_cast crate.
This means that users of my_library have to add a dependency on both my-library and ref-cast.
Could you make the RefCast derive macro accept a path to the location where it has been reexported from and then use that for the generated code?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels