comfy_table/lib.rs
1#![forbid(unsafe_code)]
2#![doc = include_str!("../README.md")]
3// The README code examples should be valid mini scripts to make them properly testable.
4#![allow(clippy::needless_doctest_main)]
5// Had a few false-positives on v1.81. Check lateron if they're still there.
6#![allow(clippy::manual_unwrap_or)]
7
8mod cell;
9mod column;
10mod row;
11mod style;
12mod table;
13#[cfg(feature = "integration_test")]
14/// We publicly expose the internal [utils] module for our integration tests.
15/// There's some logic we need from inside here.
16/// The API inside of this isn't considered stable and shouldnt' be used.
17pub mod utils;
18#[cfg(not(feature = "integration_test"))]
19mod utils;
20
21pub use crate::cell::{Cell, Cells};
22pub use crate::column::Column;
23pub use crate::row::Row;
24pub use crate::table::{ColumnCellIter, Table};
25pub use style::*;