Skip to content
Open
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
78 changes: 78 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 @@ -22,7 +22,9 @@ rust-version = "1.88"
[workspace.dependencies]
bitflags = "2.0.0"
log = { version = "0.4.5", default-features = false }
jiff = { version = "0.2", default-features = false }
ptr_meta = { version = "0.3.0", default-features = false, features = ["derive"] }
time = { version = "0.3", default-features = false }
uguid = "2.2.1"

[patch.crates-io]
Expand Down
8 changes: 8 additions & 0 deletions uefi/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,12 @@
- Added `Handle::component_name()` and `Handle::device_path()` to simplify the
common use-case of querying more information about a handle.
- Added `fs::path::Path::join()`.
- Integration of `Time` with `time` crate
- `TryFrom`: `time::PrimitiveDateTime <--> Time` (without timezone)
- `TryFrom`: `time::OffsetDateTime <--> Time` (with timezone)
- Integration of `Time` with `jiff` crate
- `TryFrom`: `jiff::DateTime <--> Time` (without timezone)
- `TryFrom`: `jiff::Zoned <--> Time` (with timezone)

## Changed
- export all `text::{input, output}::*` types
Expand All @@ -42,6 +48,8 @@
- **Breaking:** Renamed `DevicePathNode::to_string()` to `DevicePathNode::to_string16()`
to better differentiate with the new `to_string()` coming from the new
`Display`.
- `runtime::set_time()` now consumes `&T` where `T: Clone + TryInto<Time>`
instead of `&Time` to improve the integration with other time types.

# uefi - v0.36.1 (2025-11-05)

Expand Down
6 changes: 6 additions & 0 deletions uefi/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@ rust-version.workspace = true
# KEEP this feature list in sync with doc in uefi/lib.rs!
default = [ ]
alloc = []
# Integration with jiff crate `>= v0.2`
jiff02 = ["dep:jiff"]
# Integration with time crate `>= v0.3`
time03 = ["dep:time"]

# Generic gate to code that uses unstable features of Rust, needing a nightly
# toolchain.
Expand All @@ -39,6 +43,8 @@ log-debugcon = []
bitflags.workspace = true
log.workspace = true
ptr_meta.workspace = true
jiff = { workspace = true, optional = true }
time = { workspace = true, optional = true }
uguid.workspace = true
cfg-if = "1.0.0"
ucs2 = "0.3.3"
Expand Down
6 changes: 6 additions & 0 deletions uefi/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -142,12 +142,18 @@
//! using this feature, or no allocator at all if you don't need to
//! dynamically allocate any memory. Note that even without that feature,
//! some code might use the internal UEFI allocator.
//! - `jiff02`: Integration of [`runtime::Time`] with the `jiff` crate
//! (version 0.2 and possible above). Specifically, it integrates the time
//! struct with `DateTime` and `Zoned` via `TryFrom`.
//! - `logger`: Logging implementation for the standard [`log`] crate
//! that prints output to the UEFI console. No buffering is done; this
//! is not a high-performance logger.
//! - `log-debugcon`: Whether the logger set up by `logger` should also log
//! to the debugcon device (available in QEMU or Cloud Hypervisor on x86).
//! - `panic_handler`: Add a default panic handler that logs to `stdout`.
//! - `time03`: Integration of [`runtime::Time`] with the `time` crate
//! (version 0.3 and possible above). Specifically, it integrates the time
//! struct with `PrimitiveDateTime` and `OffsetDateTime` via `TryFrom`.
//! - `unstable`: Enable functionality that depends on [unstable features] in
//! the Rust compiler (nightly version).
//! - `qemu`: Enable some code paths to adapt their execution when executed
Expand Down
Loading
Loading