|
115 | 115 | //! Contributions in the form of a PR are also highly welcome. Check our
|
116 | 116 | //! [contributing guide][contributing] for details.
|
117 | 117 | //!
|
| 118 | +//! # Comparison to other Projects in the Ecosystem |
| 119 | +//! |
| 120 | +//! ## Rust `std` implementation |
| 121 | +//! |
| 122 | +//! There is an ongoing effort for a [`std` implementation][rustc-uefi-std] of |
| 123 | +//! the Rust standard library, which allows you to write UEFI programs that look |
| 124 | +//! very similar to normal Rust programs running on top of an OS. |
| 125 | +//! |
| 126 | +//! It is still under development. You can track the progress in the |
| 127 | +//! corresponding [tracking issue][uefi-std-tr-issue]. |
| 128 | +//! |
| 129 | +//! Using the `std` implementation simplifies the overall process of producing |
| 130 | +//! the binary. For example, our [`#[entry]`][entry-macro] macro won't be |
| 131 | +//! required any longer. As the `std` implementation evolves over time, you'll |
| 132 | +//! need fewer and fewer abstractions of this crate. For everything not covered |
| 133 | +//! by the `std` implementation, you can obtain relevant structures to work with |
| 134 | +//! our crate via: |
| 135 | +//! - `std::os::uefi::env::boot_services()` |
| 136 | +//! - `std::os::uefi::env::get_system_handle()` |
| 137 | +//! - `std::os::uefi::env::get_system_table()` |
| 138 | +//! |
| 139 | +//! ## `r-efi` |
| 140 | +//! |
| 141 | +//! [`r-efi`] provides Raw UEFI bindings without high-level convenience similar |
| 142 | +//! to our `uefi-raw` crate, which is part of this project, but more |
| 143 | +//! feature-complete. It targets a lower-level than our `uefi` crate does. |
| 144 | +//! |
118 | 145 | //! # License
|
119 | 146 | //! <!-- Keep in Sync with README! -->
|
120 | 147 | //!
|
|
136 | 163 | //! [`BootServices`]: table::boot::BootServices
|
137 | 164 | //! [`GlobalAlloc`]: alloc::alloc::GlobalAlloc
|
138 | 165 | //! [`SystemTable`]: table::SystemTable
|
| 166 | +//! [`r-efi`]: https://crates.io/crates/r-efi |
| 167 | +//! [`entry-macro`]: uefi_macros::entry |
139 | 168 | //! [`unsafe_protocol`]: proto::unsafe_protocol
|
140 | 169 | //! [contributing]: https://github.com/rust-osdev/uefi-rs/blob/main/CONTRIBUTING.md
|
141 | 170 | //! [issue tracker]: https://github.com/rust-osdev/uefi-rs/issues
|
142 | 171 | //! [spec]: https://uefi.org/specifications
|
143 | 172 | //! [unstable features]: https://doc.rust-lang.org/unstable-book/
|
| 173 | +//! [rustc-uefi-std]: https://doc.rust-lang.org/nightly/rustc/platform-support/unknown-uefi.html |
| 174 | +//! [uefi-std-tr-issue]: https://github.com/rust-lang/rust/issues/100499 |
144 | 175 |
|
145 | 176 | #![cfg_attr(all(feature = "unstable", feature = "alloc"), feature(allocator_api))]
|
146 | 177 | #![cfg_attr(docsrs, feature(doc_auto_cfg))]
|
|
0 commit comments