bootmgr_rs_core/
lib.rs

1//! The `bootmgr-rs` library crate.
2//!
3//! This is used mainly to expose features such as the parser, boot actions, etc. for external applications such as
4//! the integration tests, as well as the fuzzers.
5//!
6//! This "library" aspect of it also allows for external frontends to be provided beyond that of ratatui, like GUI
7//! frontends or an even more minimal user interface.
8//!
9//! An example basic frontend of this bootloader core can be found in [bootmgr-rs-minimal](https://github.com/some100/bootmgr-rs/tree/main/bootmgr-rs-minimal).
10//!
11//! ## MSRV
12//!
13//! The minimum supported rust version is 1.88.0.
14
15#![cfg_attr(not(any(fuzzing, test, doctest)), no_std)]
16
17/// The primary result type that wraps around [`crate::error::BootError`].
18pub type BootResult<T> = Result<T, crate::error::BootError>;
19
20pub mod boot;
21pub mod config;
22pub mod error;
23pub mod features;
24pub mod system;
25
26extern crate alloc;