bootmgr_rs_core/lib.rs
1// SPDX-FileCopyrightText: 2025 some100 <ootinnyoo@outlook.com>
2// SPDX-License-Identifier: MIT
3
4//! The `bootmgr-rs` library crate.
5//!
6//! # NOTE: This crate has been renamed to `bootmgr`. Use that crate instead.
7//!
8//! This is used mainly to expose features such as the parser, boot actions, etc. for external applications such as
9//! the integration tests, as well as the fuzzers.
10//!
11//! This "library" aspect of it also allows for external frontends to be provided beyond that of ratatui, like GUI
12//! frontends or an even more minimal user interface.
13//!
14//! 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).
15//!
16//! ## MSRV
17//!
18//! The minimum supported rust version is 1.88.0.
19
20#![cfg_attr(not(any(fuzzing, test, doctest)), no_std)]
21
22/// The primary result type that wraps around [`crate::error::BootError`].
23pub type BootResult<T> = Result<T, crate::error::BootError>;
24
25pub mod boot;
26pub mod config;
27pub mod error;
28pub mod system;
29
30mod features;
31
32extern crate alloc;