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

Add no_std support to prost, prost-types & make codegen no_std compatible #319

Merged
merged 1 commit into from
May 10, 2020

Commits on May 10, 2020

  1. Add no_std support to prost, prost-types & make codegen `no_std…

    …` compatible
    
    This PR adds a new `std` feature to the `prost` and `prost-types`
    crates, which is enabled by default. Additionally, the `prost-build` and
    `prost-derive` crates have been updated to emit no-std compatible code.
    
    This is a breaking change for edition-2015 crates, which are likely to
    now require an `extern crate core;` directive when including
    `prost`-generated code.
    
    Co-authored-by: Chris Beck <beck.ct@gmail.com>
    Co-authored-by: Dan Burkert <dan@danburkert.com>
    Co-authored-by: David Flemström <david.flemstrom@gmail.com>
    3 people committed May 10, 2020
    Configuration menu
    Copy the full SHA
    fdf9fdf View commit details
    Browse the repository at this point in the history