You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'd like to be able to use strum EnumString (and others) under reexport from a "common-stuff" crate in my workspace repo.
Currently trying to use the reexported EnumString results in could not find strum in the list of imported crates.
I noticed with serde this is fixable with #[serde(crate = "self::serde")] // must be below the derive attribute
and the discussion here seems to imply even this should not be needed serde-rs/serde#1465
it looks like several crates have pull requests to fix this issue.
The text was updated successfully, but these errors were encountered:
Strum does support this feature for most of it's derives, but I guess it isn't documented :/. Can you try #[strum(crate = "...")] to see if it works in your case?
I'd like to be able to use strum EnumString (and others) under reexport from a "common-stuff" crate in my workspace repo.
Currently trying to use the reexported EnumString results in could not find
strum
in the list of imported crates.I noticed with serde this is fixable with
#[serde(crate = "self::serde")] // must be below the derive attribute
and the discussion here seems to imply even this should not be needed serde-rs/serde#1465
it looks like several crates have pull requests to fix this issue.
The text was updated successfully, but these errors were encountered: