Skip to content

build(deps): update rust crate convert_case to 0.12.0 - #433

Open
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/convert_case-0.x
Open

build(deps): update rust crate convert_case to 0.12.0#433
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/convert_case-0.x

Conversation

@renovate

@renovate renovate Bot commented Sep 7, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Type Update Change
convert_case dependencies minor 0.11.00.12.0

Release Notes

rutrum/convert-case (convert_case)

v0.12.0

Compare Source

This release improves speed and memory efficiency. A couple techniques were used:

  • Character case checks first check ascii before doing the more expensive grapheme checks (which require heap allocations).
  • Delimiter only splits get a dedicated path in the split method.
  • The case of characters is computed upfront in a bitmask before checking individual boundary conditions in split. Built-in boundaries get a custom implementation built on top of this bitmask.
Benchmark Before After Improvement
snake_short ("hello_world") 412 ns 21.3 ns −95%
lower_upper ("lowerUpperUpper") 1,631 ns 475 ns −71%
acronym ("XMLRequest") 1,108 ns 418 ns −62%
camel_set ("getTotalLength3D") 3,844 ns 643 ns −83%
defaults_mixed (9 boundaries) 8,083 ns 1,500 ns −81%
defaults_long_snake (265 chars) 52,281 ns 4,730 ns −91%
unicode_cyrillic ("ПЕРСПЕКТИВА24") 8,334 ns 741 ns −91%
Full pipeline from_to_all (4 words x 14 x 14) 1,230 µs 263 µs −79%

Configuration

📅 Schedule: (UTC)

  • Branch creation
    • Between 12:00 AM and 03:59 AM, only on Monday (* 0-3 * * 1)
  • Automerge
    • At any time (no schedule defined)

🚦 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.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants