Skip to content

uefi-services: prepare v0.26.0 release to accelerate migration/deprecation #1709

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 24, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ members = [
"uefi",
"uefi-macros",
"uefi-raw",
"uefi-services",
"uefi-std-example",
"uefi-test-runner",
"xtask",
Expand All @@ -29,6 +30,7 @@ uguid = "2.2.1"
uefi = { path = "uefi" }
uefi-macros = { path = "uefi-macros" }
uefi-raw = { path = "uefi-raw" }
uefi-services = { path = "uefi-services" }

# Enable optimization for xtask itself, not for its dependencies. This speeds up
# OVMF prebuilt decompression without much increase in compilation time.
Expand Down
5 changes: 5 additions & 0 deletions uefi-services/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# uefi-services - 0.26 (2025-06-23)

## Changed
- The deprecation warning was replaced with a `compile_error!` call to alert
users to upgrade. `v0.25.0` can cause problems when used with `uefi` `>v0.25`.
24 changes: 24 additions & 0 deletions uefi-services/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
[package]
name = "uefi-services"
version = "0.26.0"
readme = "README.md"
description = "Deprecated. Please migrate to `uefi::helpers`."

authors.workspace = true
categories.workspace = true
edition.workspace = true
keywords.workspace = true
license.workspace = true
repository.workspace = true
rust-version.workspace = true

[dependencies]

[badges.maintenance]
status = "deprecated"

[features]
default = []
qemu = []
panic_handler = []
logger = []
5 changes: 5 additions & 0 deletions uefi-services/build.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
fn main() {
println!(
"cargo:warning=`uefi-services` is deprecated. Functionality was moved to `uefi::helpers::init`."
);
}
6 changes: 6 additions & 0 deletions uefi-services/src/lib.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
//! WARNING: `uefi-services` is deprecated. Functionality was moved to `uefi::helpers::init`.
#![no_std]

compile_error!(
"uefi-services is deprecated since v0.25 (April 2024). Please migrate to `uefi` >0.26. See CHANGELOG for migration guidance!"
);
1 change: 1 addition & 0 deletions xtask/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -367,6 +367,7 @@ fn format_file_headers(fmt_opt: &FmtOpt) -> Result<()> {
// This directory contains short code snippets used in `trybuild` tests,
// no license needed.
"uefi-macros/tests/ui/",
"uefi-services",
];

// Recursively get Rust files
Expand Down
Loading