Skip to content

Hybrid Format v0.2.0

Latest

Choose a tag to compare

@horacehoff horacehoff released this 09 Oct 13:49
· 11 commits to main since this release
  • {0} now represents a positional argument, and no longer represents the expression 0
  • Raised the MSRV from 1.87 to 1.95.
  • Named arguments are now supported
  • There are just two crates now, hybrid-format-impls is no longer used
  • Added the hwrite! macro, the hformat! equivalent of the write! macro
  • Compile-time const detection now covers literals, arithmetic, logical/bitwise operators, casts, field access, indexing where the operands are all constants, and constant macros like env!, concat!, etc
  • Runtime arguments are now evaluated once even when used several times
  • Faster char formatting
  • Faster float formatting
  • Smaller code size
  • Error messages are more similar to format!