| 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::ansi; |
| 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, Formatting, HorizontalLine, Indent, Position, Sides, VerticalLine, |
| 25 | }; |
| 26 | |
| 27 | #[cfg (feature = "std" )] |
| 28 | #[cfg_attr (docsrs, doc(cfg(feature = "std" )))] |
| 29 | pub use papergrid::config::spanned::{EntityMap, Offset, SpannedConfig}; |
| 30 | |
| 31 | #[cfg (feature = "std" )] |
| 32 | #[cfg_attr (docsrs, doc(cfg(feature = "std" )))] |
| 33 | pub use super::colored_config::{ColorMap, ColoredConfig}; |
| 34 | |
| 35 | pub use super::compact_multiline_config::CompactMultilineConfig; |
| 36 | } |
| 37 | |
| 38 | pub use papergrid::grid::compact::CompactGrid; |
| 39 | |
| 40 | #[cfg (feature = "std" )] |
| 41 | #[cfg_attr (docsrs, doc(cfg(feature = "std" )))] |
| 42 | pub use papergrid::grid::iterable::Grid; |
| 43 | |
| 44 | #[cfg (feature = "std" )] |
| 45 | #[cfg_attr (docsrs, doc(cfg(feature = "std" )))] |
| 46 | pub use papergrid::grid::peekable::PeekableGrid; |
| 47 | |