farben-core 0.5.0

The internal core library for Farben
Documentation

farben-core

The internal core library for Farben

Crates.io Version docs.rs License Crates.io Downloads GitHub Stars GitHub Issues GitHub Last Commit Rust Edition Deps.rs Repo Size Maintenance

[!WARNING] This crate is not intended for direct use. Its API is not stable and may change at any time without notice. Use the farben crate instead.

Contents

This crate contains the shared logic used by farben and farben-macros:

  • Lexer: tokenizes farben markup strings into a Vec<Token>
  • Parser: renders a token stream into an ANSI escape sequence string
  • ANSI: color and emphasis encoding via SGR escape codes
  • Errors: LexError and its variants

License

This project is protected under the RazkarStudio Permissive License. See the LICENSE fosr more details.

Cheers, RazkarStudio.

© 2026 RazkarStudio. All rights reserved.