Skip to content

Commit c300a79

Browse files
committed
workspace: downgrade derive_more to 0.99
This way, I don't have to increase the MSRV for the next release. I want as many users as possible to adopt the latest version, so I want to make it less breaking.
1 parent 837b16b commit c300a79

File tree

6 files changed

+13
-41
lines changed

6 files changed

+13
-41
lines changed

Cargo.lock

Lines changed: 2 additions & 18 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 = "1.0.0", default-features = false, features = ["display"] }
13+
derive_more = { version = "~0.99.18", 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: 2 additions & 18 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

multiboot2/Changelog.md

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

33
## Unreleased
44

5+
-
6+
57
## 0.21.0 (2024-08-17)
68

79
This release contains a massive refactoring of various internals. Now, **all
@@ -15,6 +17,8 @@ contain UB. However, it is never clear how UB results in immediate incorrect
1517
behaviour and it _might_ work. **Nevertheless, please migrate to the latest
1618
release and you'll be fine!**
1719

20+
All previous releases on crates.io have been yanked.
21+
1822
- **Breaking:** All functions that returns something useful are
1923
now `#[must_use]`
2024
- **Breaking:** More public fields in tags were replaced by public getters, such

multiboot2/src/boot_information.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,15 +21,15 @@ use derive_more::Display;
2121
pub enum MbiLoadError {
2222
/// The address is invalid. Make sure that the address is 8-byte aligned,
2323
/// according to the spec.
24-
#[display("The address is invalid")]
24+
#[display(fmt = "The address is invalid")]
2525
IllegalAddress,
2626
/// The total size of the multiboot2 information structure must be not zero
2727
/// and a multiple of 8.
28-
#[display("The size of the MBI is unexpected")]
28+
#[display(fmt = "The size of the MBI is unexpected")]
2929
IllegalTotalSize(u32),
3030
/// Missing end tag. Each multiboot2 boot information requires to have an
3131
/// end tag.
32-
#[display("There is no end tag")]
32+
#[display(fmt = "There is no end tag")]
3333
NoEndTag,
3434
}
3535

multiboot2/src/framebuffer.rs

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

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

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

0 commit comments

Comments
 (0)