farben-core 0.6.4

The internal core library for Farben
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
//! Core library for the farben terminal styling crate.
//!
//! Provides the full pipeline for parsing farben markup strings into ANSI escape sequences:
//! tokenization ([`lexer`]), ANSI encoding ([`ansi`]), rendering ([`parser`]),
//! named style registration ([`registry`]), and error types ([`errors`]).
//!
//! Typical usage flows through the [`lexer::tokenize`] and [`parser::render`] functions,
//! with optional style definitions via the [`registry`] module and its macros.

pub mod ansi;
pub mod errors;
pub mod lexer;
pub mod parser;
pub mod registry;