We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Useful when num_enum is being reexported from another crate, because otherwise I get:
Warning: Could not find `num_enum` in `dependencies` or `dev-dependencies` in `Cargo.toml`! => defaulting to `num_enum`
And compile fails.
For example, serde accepts a #[serde(crate = "")] attribute for this.
#[serde(crate = "")]
The text was updated successfully, but these errors were encountered:
num-derive also has a similar attribute so it can find the num_traits crate as a different identifier: https://docs.rs/num-derive/0.3.3/num_derive/#explicit-import
Sorry, something went wrong.
No branches or pull requests
Useful when num_enum is being reexported from another crate, because otherwise I get:
And compile fails.
For example, serde accepts a
#[serde(crate = "")]
attribute for this.The text was updated successfully, but these errors were encountered: