//! Pretty repr system for qroissant Python values.
//!
//! This module provides:
//! - [`options`] — global `FormattingOptions`, `RowDisplay`, and associated
//!   builder and pyfunctions (`get_formatting_options`, `set_formatting_options`,
//!   `reset_formatting_options`).
//! - [`cell`] — individual q value → string conversion without Arrow.
//! - [`render`] — ASCII table rendering via `tabled` and `preview_slots`.
//! - [`format`] — shape-level formatting functions called by `__repr__`/`__str__`.

pub mod cell;
pub mod format;
pub mod options;
pub mod render;

pub use format::format_atom;
pub use format::format_dictionary;
pub use format::format_list;
pub use format::format_table;
pub use format::format_vector;
use pyo3::prelude::*;
use pyo3::types::PyModule;

pub fn register(module: &Bound<'_, PyModule>) -> PyResult<()> {
    options::register(module)
}
