rformat 0.2.0

Runtime formatting library
Documentation
  • Coverage
  • 31.96%
    62 out of 194 items documented2 out of 119 items with examples
  • Size
  • Source code size: 113.06 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 11.52 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 18s Average build duration of successful builds.
  • all releases: 11s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • RisinT96/rformat
    0 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • RisinT96

rformat: A flexible runtime formatting library for Rust, supporting custom and standard formatting traits.

This crate provides a formatting engine similar to Rust's standard formatting macros, but with extensibility for custom types and formatting behaviors.

Unlike Rust's built-in formatting macros, rformat parses the format string at runtime. This means you can generate or modify the format specification dynamically at runtime, rather than being limited to hardcoded, compile-time format strings. This enables advanced use cases such as user-driven formatting, dynamic templates, or runtime format spec construction.

Modules

  • error: Error types for formatting operations
  • fmt: Formatting engine and traits
  • formattable: Type-erased wrapper for formattable values
  • prelude: Commonly used traits and macros