From 8b2e5ff9e8010c773fbf1deafec72143f42de08b Mon Sep 17 00:00:00 2001 From: Nicholas Bishop Date: Fri, 2 Aug 2024 11:20:35 -0400 Subject: [PATCH] release: uefi-0.30.0 This release contains a cherry-pick of https://github.com/rust-osdev/uefi-rs/pull/1282. --- Cargo.lock | 2 +- book/src/tutorial/app.md | 2 +- template/Cargo.toml | 2 +- uefi-raw/src/capsule.rs | 2 +- uefi/CHANGELOG.md | 3 +-- uefi/Cargo.toml | 2 +- 6 files changed, 6 insertions(+), 7 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index fecb0d9ec..386dc81ff 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -853,7 +853,7 @@ dependencies = [ [[package]] name = "uefi" -version = "0.29.0" +version = "0.30.0" dependencies = [ "bitflags 2.6.0", "cfg-if", diff --git a/book/src/tutorial/app.md b/book/src/tutorial/app.md index d4990eb26..e8b80832a 100644 --- a/book/src/tutorial/app.md +++ b/book/src/tutorial/app.md @@ -24,7 +24,7 @@ to your `Cargo.toml`. The resulting `Cargo.toml` should look like that: ```toml [dependencies] log = "0.4.21" -uefi = { version = "0.29.0", features = [ "panic_handler", "logger" ] } +uefi = { version = "0.30.0", features = [ "panic_handler", "logger" ] } ``` Replace the contents of `src/main.rs` with this: diff --git a/template/Cargo.toml b/template/Cargo.toml index 08cc62dee..d42653118 100644 --- a/template/Cargo.toml +++ b/template/Cargo.toml @@ -5,4 +5,4 @@ edition = "2021" publish = false [dependencies] -uefi = { version = "0.29.0", features = ["panic_handler"] } +uefi = { version = "0.30.0", features = ["panic_handler"] } diff --git a/uefi-raw/src/capsule.rs b/uefi-raw/src/capsule.rs index 7726a1598..38183058c 100644 --- a/uefi-raw/src/capsule.rs +++ b/uefi-raw/src/capsule.rs @@ -18,7 +18,7 @@ pub struct CapsuleBlockDescriptor { /// Either a data block pointer or a continuation pointer. /// /// * If `length` is non-zero, this is the physical address of the data - /// block. + /// block. /// * If `length` is zero: /// * If `addr` is non-zero, this is the physical address of another block /// of `CapsuleBlockDescriptor`. diff --git a/uefi/CHANGELOG.md b/uefi/CHANGELOG.md index 3f54ecbd8..8d997651c 100644 --- a/uefi/CHANGELOG.md +++ b/uefi/CHANGELOG.md @@ -1,8 +1,7 @@ # uefi - [Unreleased] - -# uefi - 0.30.0 (unreleased) +# uefi - 0.30.0 (2024-08-02) ## Changed - **Breaking:**: Fixed a bug in the impls of `TryFrom<&[u8]>` for `&DevicePathHeader`, `&DevicePathNode` and `&DevicePath` that could lead to diff --git a/uefi/Cargo.toml b/uefi/Cargo.toml index 2fe9e257b..597fb2a30 100644 --- a/uefi/Cargo.toml +++ b/uefi/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "uefi" -version = "0.29.0" +version = "0.30.0" readme = "README.md" description = "Safe and easy-to-use wrapper for building UEFI apps."