Skip to content
New issue

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

Fix no_std support if serde is depended on #19

Merged
merged 1 commit into from
May 9, 2020
Merged

Fix no_std support if serde is depended on #19

merged 1 commit into from
May 9, 2020

Commits on May 8, 2020

  1. Fix no_std support if serde is depended on

    The proc-macro-crate depends on toml, which in turn depends on serde
    _with_ std. Only depend on proc-macro-crate if std is enabled.
    
    This means that no_std consumer of num_enum cannot rename their num_enum
    dependency. This seems like a reasonable restriction.
    
    Works around rust-lang/cargo#5730
    illicitonion committed May 8, 2020
    Configuration menu
    Copy the full SHA
    626dde2 View commit details
    Browse the repository at this point in the history