Skip to main content

oxide_update_engine_display/
lib.rs

1// This Source Code Form is subject to the terms of the Mozilla Public
2// License, v. 2.0. If a copy of the MPL was not distributed with this
3// file, You can obtain one at https://mozilla.org/MPL/2.0/.
4
5#![cfg_attr(doc_cfg, feature(doc_cfg))]
6// Setting html_root_url allows cross-crate readme links to resolve. This
7// line is updated by cargo-release.
8#![doc(html_root_url = "https://docs.rs/oxide-update-engine-display/0.1.0")]
9
10//! Displayers for the update engine.
11//!
12//! Currently implemented are:
13//!
14//! * [`LineDisplay`]: a line-oriented display suitable for the command
15//!   line.
16//! * [`GroupDisplay`]: manages state and shows the results of several
17//!   [`LineDisplay`]s at once.
18//! * Some utility displayers which can be used to build custom
19//!   displayers.
20
21mod group_display;
22mod line_display;
23mod line_display_shared;
24mod utils;
25
26pub use group_display::{GroupDisplay, GroupDisplayStats};
27pub use line_display::{LineDisplay, LineDisplayStyles};
28// Re-export AbortMessageDisplay from the types crate.
29pub use oxide_update_engine_types::buffer::AbortMessageDisplay;
30pub use utils::*;