Skip to main content

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 inline_table;
11mod row;
12mod style;
13mod table;
14#[cfg(feature = "_integration_test")]
15/// We publicly expose the internal [utils] module for our integration tests.
16/// There's some logic we need from inside here.
17/// The API inside of this isn't considered stable and shouldnt' be used.
18pub mod utils;
19#[cfg(not(feature = "_integration_test"))]
20mod utils;
21
22pub use style::*;
23
24pub use crate::{
25    cell::{Cell, Cells},
26    column::Column,
27    inline_table::InlineTable,
28    row::Row,
29    table::{ColumnCellIter, Table},
30};