32 releases (19 breaking)

0.21.0 May 15, 2023
0.20.0 Mar 20, 2023
0.19.1 Feb 5, 2023
0.18.0 Nov 15, 2022
0.1.2 Feb 15, 2016

#30 in Embedded development

Download history 1067/week @ 2023-02-04 1218/week @ 2023-02-11 1821/week @ 2023-02-18 1357/week @ 2023-02-25 1314/week @ 2023-03-04 1524/week @ 2023-03-11 1628/week @ 2023-03-18 1238/week @ 2023-03-25 1306/week @ 2023-04-01 1458/week @ 2023-04-08 1512/week @ 2023-04-15 1499/week @ 2023-04-22 1757/week @ 2023-04-29 1752/week @ 2023-05-06 1883/week @ 2023-05-13 1534/week @ 2023-05-20

7,167 downloads per month
Used in 6 crates

MPL-2.0 license

1MB
17K SLoC

uefi-rs

Crates.io Docs.rs Stars License Build status

UEFI is the successor to the BIOS. It provides an early boot environment for OS loaders, hypervisors and other low-level applications.

The uefi crate makes it easy to:

  • Write UEFI applications in Rust (for i686, x86_64, or aarch64)
  • Call UEFI functions from an OS (usually built with a custom target)

The objective is to provide safe and performant wrappers for UEFI interfaces, and allow developers to write idiomatic Rust code.

Check out the UEFI application template for a quick start.

Optional features

This crate's features are described in src/lib.rs.

See also the uefi-services crate, which provides a panic handler and initializes the global_allocator and logger features.

Documentation

The uefi-rs book contains a tutorial, how-tos, and overviews of some important UEFI concepts.

Reference documentation can be found on docs.rs:

For additional information, refer to the UEFI specification.

MSRV

The minimum supported Rust version is currently 1.68, which is the first Rust release that fully supports all necessary features on the stable channel.

In the future, our policy will be to support at least the past two stable releases.

License

The code in this repository is licensed under the Mozilla Public License 2. This license allows you to use the crate in proprietary programs, but any modifications to the files must be open-sourced.

The full text of the license is available in the license file.

Dependencies

~0.7–1.2MB
~28K SLoC