fmtview 0.4.3

Fast CLI viewer for highlighting, search, and diffs across JSON, JSONL, markup, Markdown, TOML, text, and Jinja
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
mod detect;
mod engine;
mod types;

#[cfg(test)]
mod tests;

pub(crate) const IO_BUFFER_BYTES: usize = 256 * 1024;

#[cfg(test)]
pub(crate) use engine::format_record_to_string;
#[cfg(test)]
pub(crate) use engine::format_source_to_temp;
pub(crate) use engine::{format_record_bytes, format_record_lines, parseable_record_line};
pub(crate) use engine::{transform_source_to_temp, trim_record_line_end};
pub(crate) use types::{FormatKind, FormatOptions, TransformStrategy};