Skip to content

0.2.34 release

Latest
Compare
Choose a tag to compare
@rodrimati1992 rodrimati1992 released this 06 Dec 21:15
4b07771

This release makes the const_format::fmt API usable on the latest stable (Rust 1.83.0), meaning that no crate feature requires the nightly Rust compiler anymore.

Changelog

0.2.34

Now all features that used to require nightly only require Rust 1.83.0

Added "rust_1_83" feature that enables "rust_1_64" feature

Changed "fmt" feature to enable "rust_1_83" feature

Made many macros forward compatible with inline const patterns(when the "rust_1_83" feature is enabled):

  • concatc
  • concatcp
  • formatc
  • formatcp
  • map_ascii_case
  • str_get
  • str_index
  • str_repeat
  • str_replace

Added these macros:

  • str_splice_out
  • str_split_alt

0.2.33

Fixed Rust Analyzer style warning for assertion macros.

0.2.32

Breaking change: bumped Minimum Supported Rust Version to Rust 1.57 and changed crate's edition to 2021. This change is motivated by proc-macro2 increasing its MSRV to 1.56.

Changed these items that needed the "rust_1_51" feature into always being enabled:

  • map_ascii_case
  • str_replace

0.2.31

Added a workaround for rustdoc bug (rust-lang/rust#112085).

0.2.29

Added lowercase hexadecimal formatting support.

Breaking: to add lowercase hexadecimal formatting, this crate changed the uppercase hexadecimal formatter from {:x} to {:X}

0.2.27

Replacing existing features with these:

  • "rust_1_64": superceeding the soft-deprecated "more_str_macros" feature.
  • "rust_1_51": superceeding the soft-deprecated "const_generics" feature.
    The new features are enabled by the feature they superceede.

Now the "fmt" feature enables the "rust_1_64" feature.