chore: update rust crate const_format to v0.2.36#12
Open
renovate[bot] wants to merge 1 commit intomainfrom
Open
chore: update rust crate const_format to v0.2.36#12renovate[bot] wants to merge 1 commit intomainfrom
renovate[bot] wants to merge 1 commit intomainfrom
Conversation
a3f4a9a to
ebaad7b
Compare
ebaad7b to
70bff4f
Compare
70bff4f to
9dadf88
Compare
9dadf88 to
fcace40
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
0.2.19→0.2.36Release Notes
rodrimati1992/const_format_crates (const_format)
v0.2.36Breaking change: bumped Minimum Supported Rust Version to Rust 1.71. This change is motivated by
quoteincreasing its MSRV to 1.71.Now the
"rust_1_64"feature is effectively always enabled, so these items are always enabled:const_format::str_splitDeprecated these items because their replacements now take constant time to run:
const_format::fmt::StrWriter::as_bytes_alt: superceeded byas_bytesconst_format::fmt::StrWriter::as_str_alt: superceeded byas_strconst_format::fmt::StrWriterMut::as_bytes_alt: superceeded byas_bytesconst_format::fmt::StrWriterMut::as_str_alt: superceeded byas_strconst_format::utils::slice_up_to_len_alt: superceeded byslice_up_to_lenChanged these methods from being conditionally const (by requiring the
"rust_1_64"feature to be const) to being unconditionally const:const_format::fmt::StrWriter::as_bytesconst_format::fmt::StrWriter::as_strconst_format::fmt::StrWriterMut::as_bytesconst_format::fmt::StrWriterMut::as_strChanged this method to be
const:const_format::AsciiStr::as_strFixed nightly 2026-04-09 compatibility when
cargo update -Z minimal-versionsis used by bumpingkonstinternal dependency to"0.2.20"versionv0.2.35Breaking change: bumped Minimum Supported Rust Version to Rust 1.60. This change is motivated by
quoteincreasing its MSRV to 1.60.v0.2.34Now all features that used to require nightly only require Rust 1.83.0
Added
"rust_1_83"feature that enables"rust_1_64"featureChanged
"fmt"feature to enable"rust_1_83"featureMade many macros forward compatible with inline const patterns(when the
"rust_1_83"feature is enabled):concatcconcatcpformatcformatcpmap_ascii_casestr_getstr_indexstr_repeatstr_replaceAdded these macros:
str_splice_outstr_split_altv0.2.33Fixed Rust Analyzer style warning for assertion macros.
v0.2.32Breaking 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_casestr_replacev0.2.31Added a workaround for rustdoc bug (rust-lang/rust#112085).
v0.2.29Added lowercase hexadecimal formatting support.
Breaking: to add lowercase hexadecimal formatting, this crate changed the uppercase hexadecimal formatter from
{:x}to{:X}v0.2.27Replacing 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.v0.2.26Added
"more_str_macros"crate feature.Added
str_splitmacro, conditional on the"more_str_macros"feature.Added
charpattern support tostr_replace.v0.2.25Fixed the
clippy::double_parens(false positive) warning byencoding the
&'static strtype annotation some other way.Made
SplicedStr,Formatting, andNumberFormattingderiveEq.v0.2.24Fixed error that caused formatting macros not to be usable in statement position.
v0.2.23Added type annotations to
concatp,concatcp,formatcandformatcpmacros to help IDEs infer the type.v0.2.22Compare Source
Added the
assertcp,assertcp_ne, andassertcp_eqmacros under the "assertcp" feature.Added
const_eqmethods forPWrapper<&[char]>andPWrapper<Option<char>>Added the "assertcp" feature, which enables the
assertcp*macros.Aliased "assert" crate feature to "assertc", and removed old name from docs to reduce confusion.
v0.2.21Rewrote assertion macros to:
Configuration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.