Skip to content

Commit 9ab4fbb

Browse files
committed
bump MSRV to 1.56.1 + Rust edition 2021
It's time for a bump. MSRV 1.5y old now.
1 parent 930fc48 commit 9ab4fbb

File tree

9 files changed

+14
-8
lines changed

9 files changed

+14
-8
lines changed

multiboot2-header/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ authors = [
99
"Philipp Schuster <[email protected]>"
1010
]
1111
license = "MIT/Apache-2.0"
12-
edition = "2018"
12+
edition = "2021"
1313
categories = [
1414
"no-std",
1515
"parsing",

multiboot2-header/Changelog.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
# CHANGELOG for crate `multiboot2-header`
22

3+
## Unreleased
4+
- MSRV is 1.56.1
5+
36
## v0.2.0 (2022-05-03)
47
- **BREAKING** renamed `EntryHeaderTag` to `EntryAddressHeaderTag`
58
- **BREAKING** some paths changed from `multiboot2_header::header` to `multiboot2_header::builder`

multiboot2-header/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ You may need a special linker script to place this in a LOAD segment with a file
6868
See specification.
6969

7070
## MSRV
71-
The MSRV is 1.52.1 stable.
71+
The MSRV is 1.56.1 stable.
7272

7373
## License & Contribution
7474

multiboot2-header/src/builder/information_request.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ pub struct InformationRequestHeaderTagBuilder {
2121
#[cfg(feature = "builder")]
2222
impl InformationRequestHeaderTagBuilder {
2323
/// New builder.
24-
#[allow(clippy::missing_const_for_fn)] // TODO remove once MSRV is higher than 1.52.1
24+
#[allow(clippy::missing_const_for_fn)] // TODO remove once MSRV is higher than 1.65.0
2525
pub fn new(flag: HeaderTagFlag) -> Self {
2626
Self {
2727
irs: BTreeSet::new(),
@@ -31,7 +31,7 @@ impl InformationRequestHeaderTagBuilder {
3131

3232
/// Returns the expected length of the information request tag,
3333
/// when the `build`-method gets called.
34-
#[allow(clippy::missing_const_for_fn)] // TODO remove once MSRV is higher than 1.52.1
34+
#[allow(clippy::missing_const_for_fn)] // TODO remove once MSRV is higher than 1.65.0
3535
pub fn expected_len(&self) -> usize {
3636
let basic_header_size = size_of::<InformationRequestHeaderTag<0>>();
3737
let req_tags_size = self.irs.len() * size_of::<MbiTagType>();

multiboot2-header/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
//! ```
3232
//!
3333
//! ## MSRV
34-
//! The MSRV is 1.52.1 stable.
34+
//! The MSRV is 1.56.1 stable.
3535
3636
#![no_std]
3737
#![deny(rustdoc::all)]

multiboot2/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ authors = [
1414
"Philipp Schuster <[email protected]>"
1515
]
1616
license = "MIT/Apache-2.0"
17-
edition = "2018"
17+
edition = "2021"
1818
categories = [
1919
"no-std",
2020
"parsing",

multiboot2/Changelog.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
# CHANGELOG for crate `multiboot2`
22

3+
## Unreleased
4+
- MSRV is 1.56.1
5+
36
## 0.14.2 (2023-03-17)
47
- documentation fixes
58
- `MbiLoadError` now implements `Display`

multiboot2/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ other fields | variable
3131
All tags and the mbi itself are 8-byte aligned. The last tag must be the _end tag_, which is a tag of type `0` and size `8`.
3232

3333
## MSRV
34-
The MSRV is 1.52.1 stable.
34+
The MSRV is 1.56.1 stable.
3535

3636
## License & Contribution
3737

multiboot2/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
//! ```
3131
//!
3232
//! ## MSRV
33-
//! The MSRV is 1.52.1 stable.
33+
//! The MSRV is 1.56.1 stable.
3434
3535
// this crate can use std in tests only
3636
#[cfg_attr(test, macro_use)]

0 commit comments

Comments
 (0)