Skip to content

Breaks under reexport  #28

Description

@blueforesticarus

I'd like to use this crate via a re-export in my workspace's common crate. The code generated here refers to ::parse-display, which will only exist if the crate has parse-display added to its Cargo.toml.

In other crates like serde and strum it is possible to get around this with a #[serde(crate = "self::serde")]. It should also be possible to eliminate the need for said attribute using a method like this, though I don't fully understand it yet. Relevant code snippet

How strum implements it

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions