Derive macro doesn't work when exported
crlf0710 opened this issue · 1 comments
crlf0710 commented
Currently if the derive macro is reexport in another crate, it doesn't work, because the crate using it won't have ::bytemuck
point to this crate. serde
's solution is to provide an explicit serde(crate = "...")
attribute. Maybe consider support it in the same way.
As a temporary workaround i'll add bytemuck dep to the usage site too. Might contribute if i've got time.