Skip to content
Myr

Raise required compiler for serde_derive to Rust 1.71

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by David Tolnay · committed by David Tolnay · parent d179020 · Browse files · 6 files+10 added−10 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

6 files+10 added−10 removed

  • other:+10 added−10 removed

6 files+10 added−10 removed

modified:.github/workflows/ci.yml+2 added-2 removed
modified:serde/build.rs+2 added-2 removed
43 unmodified lines
44 println!("cargo:rustc-check-cfg=cfg(no_std_atomic64)");45 println!("cargo:rustc-check-cfg=cfg(no_target_has_atomic)");46 }4748 // Current minimum supported version of serde_derive crate is Rust 1.68.49 if minor < 68 {48 // Current minimum supported version of serde_derive crate is Rust 1.71.49 if minor < 71 {50 println!("cargo:rustc-cfg=no_serde_derive");51 }5253 // Support for the `#[diagnostic]` tool attribute namespace
16 unmodified lines
modified:serde_core/build.rs+2 added-2 removed
69 unmodified lines
70 if minor < 64 {71 println!("cargo:rustc-cfg=no_core_cstr");72 }7374 // Current minimum supported version of serde_derive crate is Rust 1.68.75 if minor < 68 {74 // Current minimum supported version of serde_derive crate is Rust 1.71.75 if minor < 71 {76 println!("cargo:rustc-cfg=no_serde_derive");77 }7879 // Support for core::num::Saturating and std::num::Saturating stabilized in Rust 1.74
34 unmodified lines
modified:serde_derive/Cargo.toml+1 added-1 removed
10 unmodified lines
11keywords = ["serde", "serialization", "no_std", "derive"]12license = "MIT OR Apache-2.0"13readme = "crates-io.md"14repository = "https://github.com/serde-rs/serde"15rust-version = "1.68"15rust-version = "1.71"1617[features]18default = []19deserialize_in_place = []
23 unmodified lines
modified:serde_derive_internals/Cargo.toml+1 added-1 removed
8 unmodified lines
9homepage = "https://serde.rs"10keywords = ["serde", "serialization"]11license = "MIT OR Apache-2.0"12repository = "https://github.com/serde-rs/serde"13rust-version = "1.68"13rust-version = "1.71"1415[lib]16path = "lib.rs"17
15 unmodified lines
modified:README.md+2 added-2 removed
1# Serde &emsp; [![Build Status]][actions] [![Latest Version]][crates.io] [![serde msrv]][Rust 1.56] [![serde_derive msrv]][Rust 1.68]1# Serde &emsp; [![Build Status]][actions] [![Latest Version]][crates.io] [![serde msrv]][Rust 1.56] [![serde_derive msrv]][Rust 1.71]23[Build Status]: https://img.shields.io/github/actions/workflow/status/serde-rs/serde/ci.yml?branch=master4[actions]: https://github.com/serde-rs/serde/actions?query=branch%3Amaster5[Latest Version]: https://img.shields.io/crates/v/serde.svg6[crates.io]: https://crates.io/crates/serde7[serde msrv]: https://img.shields.io/crates/msrv/serde.svg?label=serde%20msrv&color=lightgray8[serde_derive msrv]: https://img.shields.io/crates/msrv/serde_derive.svg?label=serde_derive%20msrv&color=lightgray9[Rust 1.56]: https://blog.rust-lang.org/2021/10/21/Rust-1.56.0/10[Rust 1.68]: https://blog.rust-lang.org/2023/03/09/Rust-1.68.0/10[Rust 1.71]: https://blog.rust-lang.org/2023/07/13/Rust-1.71.0/1112**Serde is a framework for *ser*ializing and *de*serializing Rust data structures efficiently and generically.**1314---
100 unmodified lines