1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
//! A Rust library for easy to use and configurable cli progress bars
//!
//! ## Features
//! - fairness:
//!   - enables using `parking_lot`'s `FairMutex`
//!   - (adds some overhead but may fix some issues?)
//! - nightly:
//!   - enables using nighlty rust (generic_associated_types) for some extra optimizations
//!

#![cfg_attr(feature = "nightly", feature(generic_associated_types))]

extern crate parking_lot;
extern crate terminal_size;

pub mod bars;
pub(crate) mod isbar;
pub mod iterator;
pub mod macros;
pub(crate) mod manager;
pub mod prelude;
pub(crate) mod sealant;
pub(crate) mod utils;
pub mod wrapper;

pub use isbar::subsets;
pub use isbar::BarCloseMethod;
pub use isbar::IsBar;
pub use manager::BarManager;
pub use wrapper::ThreadedBarWrapper;