farben-macros 0.7.1

Procedural macros for Farben
Documentation

farben-macros

Procedural macros for Farben. Completely opt-in.

Crates.io Version docs.rs License MIT License Apache-2.0

[!WARNING] This crate is not intended for direct use. Enable the compile feature on farben instead.

Contents

  • color! -- parses and validates farben markup at compile time, emitting the final ANSI string as a FarbenStr baked into the binary
  • colorb! -- like color! but without a trailing reset
  • validate_color! -- validates farben markup at compile time, emitting the original string literal unchanged on success
  • cformat! -- compile-time format string splitting with runtime argument interpolation
  • cformatb! -- like cformat! but without a trailing reset

License

Licensed under either of MIT License or Apache License, Version 2.0 at your option.

Cheers, RazkarStudio. (c) 2026 RazkarStudio. All rights reserved.