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

Bump MSRV to 1.31 #3924

Closed
wants to merge 1 commit into from
Closed

Bump MSRV to 1.31 #3924

wants to merge 1 commit into from

Commits on Sep 14, 2024

  1. Bump MSRV to 1.31

    This permits `Cargo.toml` to include optional dependencies. On
    toolchains earlier than 1.31, the optional dependency syntax is not
    supported. With the MSRV at 1.31, any optional dependency may be
    supported even if *its* MSRV is higher than *our* MSRV since only users
    using a more recent toolchain will enable that dependency.
    
    In particular, this paves the way for adding an optional `zerocopy`
    dependency (prototyped in rust-lang#3407 and rust-lang#3914; see also google/zerocopy#557),
    which permits many uses of libc to no longer require `unsafe` code.
    joshlf committed Sep 14, 2024
    Configuration menu
    Copy the full SHA
    2ff5d5c View commit details
    Browse the repository at this point in the history