Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit ac54da4

Browse files
Merge pull request #1709 from rust-osdev/uefi-services-temp
uefi-services: prepare v0.26.0 release to accelerate migration/deprecation
2 parents 7283021 + 00372ca commit ac54da4

File tree

7 files changed

+47
-0
lines changed

7 files changed

+47
-0
lines changed

‎Cargo.lock

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

‎Cargo.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ members = [
55
"uefi",
66
"uefi-macros",
77
"uefi-raw",
8+
"uefi-services",
89
"uefi-std-example",
910
"uefi-test-runner",
1011
"xtask",
@@ -29,6 +30,7 @@ uguid = "2.2.1"
2930
uefi = { path = "uefi" }
3031
uefi-macros = { path = "uefi-macros" }
3132
uefi-raw = { path = "uefi-raw" }
33+
uefi-services = { path = "uefi-services" }
3234

3335
# Enable optimization for xtask itself, not for its dependencies. This speeds up
3436
# OVMF prebuilt decompression without much increase in compilation time.

‎uefi-services/CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# uefi-services - 0.26 (2025年06月23日)
2+
3+
## Changed
4+
- The deprecation warning was replaced with a `compile_error!` call to alert
5+
users to upgrade. `v0.25.0` can cause problems when used with `uefi` `>v0.25`.

‎uefi-services/Cargo.toml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
[package]
2+
name = "uefi-services"
3+
version = "0.26.0"
4+
readme = "README.md"
5+
description = "Deprecated. Please migrate to `uefi::helpers`."
6+
7+
authors.workspace = true
8+
categories.workspace = true
9+
edition.workspace = true
10+
keywords.workspace = true
11+
license.workspace = true
12+
repository.workspace = true
13+
rust-version.workspace = true
14+
15+
[dependencies]
16+
17+
[badges.maintenance]
18+
status = "deprecated"
19+
20+
[features]
21+
default = []
22+
qemu = []
23+
panic_handler = []
24+
logger = []

‎uefi-services/build.rs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
fn main() {
2+
println!(
3+
"cargo:warning=`uefi-services` is deprecated. Functionality was moved to `uefi::helpers::init`."
4+
);
5+
}

‎uefi-services/src/lib.rs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
//! WARNING: `uefi-services` is deprecated. Functionality was moved to `uefi::helpers::init`.
2+
#![no_std]
3+
4+
compile_error!(
5+
"uefi-services is deprecated since v0.25 (April 2024). Please migrate to `uefi` >0.26. See CHANGELOG for migration guidance!"
6+
);

‎xtask/src/main.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -367,6 +367,7 @@ fn format_file_headers(fmt_opt: &FmtOpt) -> Result<()> {
367367
// This directory contains short code snippets used in `trybuild` tests,
368368
// no license needed.
369369
"uefi-macros/tests/ui/",
370+
"uefi-services",
370371
];
371372

372373
// Recursively get Rust files

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /