Skip to content

Commit 77ca0a2

Browse files
authored
Merge pull request #223 from rust-osdev/update
cargo: update all dependencies
2 parents a8011f8 + 484160e commit 77ca0a2

File tree

14 files changed

+99
-55
lines changed

14 files changed

+99
-55
lines changed

.github/workflows/rust.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
name: build (msrv)
2121
uses: ./.github/workflows/_build-rust.yml
2222
with:
23-
rust-version: 1.70.0 # MSRV
23+
rust-version: 1.75.0 # MSRV
2424
do-style-check: false
2525
features: builder
2626

@@ -46,7 +46,7 @@ jobs:
4646
needs: build_msrv
4747
uses: ./.github/workflows/_build-rust.yml
4848
with:
49-
rust-version: 1.70.0 # MSRV
49+
rust-version: 1.75.0 # MSRV
5050
do-style-check: false
5151
rust-target: thumbv7em-none-eabihf
5252
features: builder
@@ -103,7 +103,7 @@ jobs:
103103
needs: build_msrv
104104
uses: ./.github/workflows/_build-rust.yml
105105
with:
106-
rust-version: 1.70.0 # MSRV
106+
rust-version: 1.75.0 # MSRV
107107
do-style-check: true
108108
do-test: false
109109
features: builder

Cargo.lock

Lines changed: 25 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ exclude = [
1010

1111
[workspace.dependencies]
1212
bitflags = "2.6.0"
13-
derive_more = { version = "~0.99", default-features = false, features = ["display"] }
13+
derive_more = { version = "1.0.0", default-features = false, features = ["display"] }
1414
log = { version = "~0.4", default-features = false }
1515

1616
# This way, the "multiboot2" dependency in the multiboot2-header crate can be

integration-test/bins/Cargo.lock

Lines changed: 46 additions & 32 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

integration-test/bins/Cargo.toml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,3 +18,9 @@ multiboot2 = { path = "../../multiboot2", features = ["builder", "unstable"] }
1818
multiboot2-header = { path = "../../multiboot2-header", features = ["builder", "unstable"] }
1919
good_memory_allocator = "0.1"
2020
util = { path = "./util" }
21+
22+
# This way, the "multiboot2" dependency in the multiboot2-header crate can be
23+
# referenced by version, while still the repository version is used
24+
# transparently during local development.
25+
[patch.crates-io]
26+
multiboot2 = { path = "../../multiboot2" }

multiboot2-header/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ readme = "README.md"
2626
homepage = "https://github.com/rust-osdev/multiboot2-header"
2727
repository = "https://github.com/rust-osdev/multiboot2"
2828
documentation = "https://docs.rs/multiboot2-header"
29-
rust-version = "1.70"
29+
rust-version = "1.75"
3030

3131
[[example]]
3232
name = "minimal"

multiboot2-header/Changelog.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22

33
## Unreleased
44

5+
- updated dependencies
6+
- MSRV is 1.75
7+
58
## 0.4.0 (2024-05-01)
69

710
- added `EndHeaderTag::default()`

multiboot2-header/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ bytes of the ELF. See Multiboot2 specification.
7777

7878
## MSRV
7979

80-
The MSRV is 1.70.0 stable.
80+
The MSRV is 1.75.0 stable.
8181

8282
## License & Contribution
8383

multiboot2-header/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
//!
3535
//! ## MSRV
3636
//!
37-
//! The MSRV is 1.70.0 stable.
37+
//! The MSRV is 1.75.0 stable.
3838
3939
#![no_std]
4040
#![cfg_attr(feature = "unstable", feature(error_in_core))]

multiboot2/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ readme = "README.md"
3131
homepage = "https://github.com/rust-osdev/multiboot2"
3232
repository = "https://github.com/rust-osdev/multiboot2"
3333
documentation = "https://docs.rs/multiboot2"
34-
rust-version = "1.70"
34+
rust-version = "1.75"
3535

3636
[features]
3737
default = ["builder"]

multiboot2/Changelog.md

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

3+
## Unreleased
4+
5+
- updated dependencies
6+
- MSRV is 1.75
7+
38
## 0.20.2 (2024-05-26)
49

510
- fix Debug implementation of `EfiMemoryMapTag`

multiboot2/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ tag_, which is a tag of type `0` and size `8`.
4545

4646
## MSRV
4747

48-
The MSRV is 1.70.0 stable.
48+
The MSRV is 1.75.0 stable.
4949

5050
## License & Contribution
5151

multiboot2/src/framebuffer.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -324,7 +324,7 @@ impl AsBytes for FramebufferColor {}
324324

325325
/// Error when an unknown [`FramebufferTypeId`] is found.
326326
#[derive(Debug, Copy, Clone, Display, PartialEq, Eq)]
327-
#[display(fmt = "Unknown framebuffer type {}", _0)]
327+
#[display("Unknown framebuffer type {}", _0)]
328328
pub struct UnknownFramebufferType(u8);
329329

330330
#[cfg(feature = "unstable")]

multiboot2/src/lib.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
//! ```
3434
//!
3535
//! ## MSRV
36-
//! The MSRV is 1.70.0 stable.
36+
//! The MSRV is 1.75.0 stable.
3737
3838
#[cfg(feature = "builder")]
3939
extern crate alloc;
@@ -112,15 +112,15 @@ pub const MAGIC: u32 = 0x36d76289;
112112
pub enum MbiLoadError {
113113
/// The address is invalid. Make sure that the address is 8-byte aligned,
114114
/// according to the spec.
115-
#[display(fmt = "The address is invalid")]
115+
#[display("The address is invalid")]
116116
IllegalAddress,
117117
/// The total size of the multiboot2 information structure must be not zero
118118
/// and a multiple of 8.
119-
#[display(fmt = "The size of the MBI is unexpected")]
119+
#[display("The size of the MBI is unexpected")]
120120
IllegalTotalSize(u32),
121121
/// Missing end tag. Each multiboot2 boot information requires to have an
122122
/// end tag.
123-
#[display(fmt = "There is no end tag")]
123+
#[display("There is no end tag")]
124124
NoEndTag,
125125
}
126126

0 commit comments

Comments
 (0)