Skip to content

Commit f853371

Browse files
Merge pull request #1284 from phip1611/doc1
doc: unified catchy new Crate introduction [doc: 1/n]
2 parents 5274aa9 + 1ad49eb commit f853371

File tree

4 files changed

+25
-6
lines changed

4 files changed

+25
-6
lines changed

Diff for: README.md

+7
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# uefi-rs
22

3+
Rusty wrapper for the [Unified Extensible Firmware Interface][UEFI].
4+
5+
This crate makes it easy to develop Rust software that leverages **safe**,
6+
**convenient**, and **performant** abstractions for [UEFI] functionality.
7+
38
[![Crates.io](https://img.shields.io/crates/v/uefi)](https://crates.io/crates/uefi)
49
[![Docs.rs](https://docs.rs/uefi/badge.svg)](https://docs.rs/uefi)
510
![License](https://img.shields.io/github/license/rust-osdev/uefi-rs)
@@ -136,3 +141,5 @@ This license allows you to use the crate in proprietary programs, but any
136141
modifications to the files must be open-sourced.
137142

138143
The full text of the license is available in the [license file](LICENSE).
144+
145+
[UEFI]: https://en.wikipedia.org/wiki/Unified_Extensible_Firmware_Interface

Diff for: uefi/Cargo.toml

+5-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,10 @@
22
name = "uefi"
33
version = "0.29.0"
44
readme = "README.md"
5-
description = "Safe and easy-to-use wrapper for building UEFI apps."
5+
description = """
6+
This crate makes it easy to develop Rust software that leverages safe,
7+
convenient, and performant abstractions for UEFI functionality.
8+
"""
69

710
authors.workspace = true
811
categories.workspace = true
@@ -13,6 +16,7 @@ repository.workspace = true
1316
rust-version.workspace = true
1417

1518
[features]
19+
# KEEP this feature list in sync with doc in lib.rs!
1620
default = [ "log-debugcon" ]
1721
alloc = []
1822

Diff for: uefi/README.md

+9-2
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,16 @@
1-
# uefi-rs
1+
# `uefi`
2+
3+
Rusty wrapper for the [Unified Extensible Firmware Interface][UEFI].
4+
5+
This crate makes it easy to develop Rust software that leverages **safe**,
6+
**convenient**, and **performant** abstractions for [UEFI] functionality.
27

38
[![Crates.io](https://img.shields.io/crates/v/uefi)](https://crates.io/crates/uefi)
49
[![Docs.rs](https://docs.rs/uefi/badge.svg)](https://docs.rs/uefi)
510
![License](https://img.shields.io/github/license/rust-osdev/uefi-rs)
611
![Build status](https://github.com/rust-osdev/uefi-rs/workflows/Rust/badge.svg)
712
![Stars](https://img.shields.io/github/stars/rust-osdev/uefi-rs)
813

9-
1014
For an introduction to the `uefi-rs` project and documentation, please refer to
1115
our main [README].
1216

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

4953
The full text of the license is available in the [license file](LICENSE).
54+
55+
56+
[UEFI]: https://en.wikipedia.org/wiki/Unified_Extensible_Firmware_Interface

Diff for: uefi/src/lib.rs

+4-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
//! Rusty wrapper for the [Unified Extensible Firmware Interface][UEFI].
22
//!
3+
//! This crate makes it easy to develop Rust software that leverages **safe**,
4+
//! **convenient**, and **performant** abstractions for [UEFI] functionality.
5+
//!
36
//! See the [Rust UEFI Book] for a tutorial, how-tos, and overviews of some
47
//! important UEFI concepts. For more details of UEFI, see the latest [UEFI
58
//! Specification][spec].
@@ -42,7 +45,7 @@
4245
//! protocol, and see the [`proto`] module for protocol implementations. New
4346
//! protocols can be defined with the [`unsafe_protocol`] macro.
4447
//!
45-
//! ## Optional crate features
48+
//! ## Optional Cargo crate features
4649
//!
4750
//! - `alloc`: Enable functionality requiring the [`alloc`] crate from
4851
//! the Rust standard library. For example, methods that return a
@@ -59,8 +62,6 @@
5962
//! that prints output to the UEFI console. No buffering is done; this
6063
//! is not a high-performance logger.
6164
//! - `panic_handler`: Add a default panic handler that logs to `stdout`.
62-
//! - `panic-on-logger-errors` (enabled by default): Panic if a text
63-
//! output error occurs in the logger.
6465
//! - `unstable`: Enable functionality that depends on [unstable
6566
//! features] in the nightly compiler.
6667
//! As example, in conjunction with the `alloc`-feature, this gate allows

0 commit comments

Comments
 (0)