1//! Module is responsible for tables underlyign grid.
2//!
3//! It might be used when implementing your own [`TableOption`] and [`CellOption`].
4//!
5//! [`TableOption`]: crate::settings::TableOption
6//! [`CellOption`]: crate::settings::CellOption
7#[cfg(feature = "std")]
8mod colored_config;
9
10mod compact_multiline_config;
11
12pub mod dimension;
13pub mod records;
14
15pub use papergrid::color;
16pub use papergrid::colors;
17pub use papergrid::util;
18
19pub mod config {
20 //! Module contains a list of configs for varios tables/grids.
21
22 pub use papergrid::config::{
23 compact::CompactConfig, AlignmentHorizontal, AlignmentVertical, Border, Borders, Entity,
24 EntityIterator, Indent, Line, Position, Sides,
25 };
26
27 #[cfg(feature = "std")]
28 #[cfg_attr(docsrs, doc(cfg(feature = "std")))]
29 pub use papergrid::config::spanned::{
30 EntityMap, Formatting, HorizontalLine, Offset, SpannedConfig, VerticalLine,
31 };
32
33 #[cfg(feature = "std")]
34 #[cfg_attr(docsrs, doc(cfg(feature = "std")))]
35 pub use super::colored_config::{ColorMap, ColoredConfig};
36
37 pub use super::compact_multiline_config::CompactMultilineConfig;
38}
39
40pub use papergrid::grid::compact::CompactGrid;
41
42#[cfg(feature = "std")]
43#[cfg_attr(docsrs, doc(cfg(feature = "std")))]
44pub use papergrid::grid::iterable::Grid;
45
46#[cfg(feature = "std")]
47#[cfg_attr(docsrs, doc(cfg(feature = "std")))]
48pub use papergrid::grid::peekable::PeekableGrid;
49