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" )] |
8 | mod colored_config; |
9 | |
10 | mod compact_multiline_config; |
11 | |
12 | pub mod dimension; |
13 | pub mod records; |
14 | |
15 | pub use papergrid::color; |
16 | pub use papergrid::colors; |
17 | pub use papergrid::util; |
18 | |
19 | pub 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 | |
40 | pub use papergrid::grid::compact::CompactGrid; |
41 | |
42 | #[cfg (feature = "std" )] |
43 | #[cfg_attr (docsrs, doc(cfg(feature = "std" )))] |
44 | pub use papergrid::grid::iterable::Grid; |
45 | |
46 | #[cfg (feature = "std" )] |
47 | #[cfg_attr (docsrs, doc(cfg(feature = "std" )))] |
48 | pub use papergrid::grid::peekable::PeekableGrid; |
49 | |