chore(deps): update rust crate smol_str to 0.3 #829

Merged
SakulFlee merged 2 commits from renovate/rust-analyzer-monorepo into main 2026-09-30 03:17:32 +00:00
Collaborator

This PR contains the following updates:

Package Type Update Change
smol_str (source) workspace.dependencies minor 0.2 → 0.3

⚠️ Warning

Some dependencies could not be looked up. Check the Dependency Dashboard for more information.


Release Notes

rust-lang/rust-analyzer (smol_str)

v0.3.6

  • Fix the borsh feature.

v0.3.5

  • Optimise SmolStr::clone 4-5x speedup inline, 0.5x heap (slow down).

v0.3.4

  • Added rust-version field to Cargo.toml

v0.3.3

  • Optimise StrExt::to_ascii_lowercase_smolstr, StrExt::to_ascii_uppercase_smolstr
    ~2x speedup inline, ~4-22x for heap.
  • Optimise StrExt::to_lowercase_smolstr, StrExt::to_uppercase_smolstr ~2x speedup inline, ~5-50x for heap.
  • Optimise StrExt::replace_smolstr, StrExt::replacen_smolstr for single ascii replace,
    ~3x speedup inline & heap.

v0.3.2

  • Fix SmolStrBuilder::push incorrectly padding null bytes when spilling onto the heap on a
    multibyte character push

v0.3.1

  • Fix SmolStrBuilder leaking implementation details

v0.3.0

  • Remove deprecated SmolStr::new_inline_from_ascii function
  • Remove SmolStr::to_string in favor of ToString::to_string
  • Add impl AsRef<[u8]> for SmolStr impl
  • Add impl AsRef<OsStr> for SmolStr impl
  • Add impl AsRef<Path> for SmolStr impl
  • Add SmolStrBuilder

Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • 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 has been generated by Mend Renovate.

This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [smol_str](https://github.com/rust-lang/rust-analyzer) ([source](https://github.com/rust-lang/rust-analyzer/tree/HEAD/lib/smol_str)) | workspace.dependencies | minor | `0.2` → `0.3` | --- > ⚠️ **Warning** > > Some dependencies could not be looked up. Check the [Dependency Dashboard](issues/535) for more information. --- ### Release Notes <details> <summary>rust-lang/rust-analyzer (smol_str)</summary> ### [`v0.3.6`](https://github.com/rust-lang/rust-analyzer/blob/HEAD/lib/smol_str/CHANGELOG.md#036---2026-03-04) - Fix the `borsh` feature. ### [`v0.3.5`](https://github.com/rust-lang/rust-analyzer/blob/HEAD/lib/smol_str/CHANGELOG.md#035---2026-01-08) - Optimise `SmolStr::clone` 4-5x speedup inline, 0.5x heap (slow down). ### [`v0.3.4`](https://github.com/rust-lang/rust-analyzer/blob/HEAD/lib/smol_str/CHANGELOG.md#034---2025-10-23) - Added `rust-version` field to `Cargo.toml` ### [`v0.3.3`](https://github.com/rust-lang/rust-analyzer/blob/HEAD/lib/smol_str/CHANGELOG.md#033---2025-10-23) - Optimise `StrExt::to_ascii_lowercase_smolstr`, `StrExt::to_ascii_uppercase_smolstr` \~2x speedup inline, \~4-22x for heap. - Optimise `StrExt::to_lowercase_smolstr`, `StrExt::to_uppercase_smolstr` \~2x speedup inline, \~5-50x for heap. - Optimise `StrExt::replace_smolstr`, `StrExt::replacen_smolstr` for single ascii replace, \~3x speedup inline & heap. ### [`v0.3.2`](https://github.com/rust-lang/rust-analyzer/blob/HEAD/lib/smol_str/CHANGELOG.md#032---2024-10-23) - Fix `SmolStrBuilder::push` incorrectly padding null bytes when spilling onto the heap on a multibyte character push ### [`v0.3.1`](https://github.com/rust-lang/rust-analyzer/blob/HEAD/lib/smol_str/CHANGELOG.md#031---2024-09-04) - Fix `SmolStrBuilder` leaking implementation details ### [`v0.3.0`](https://github.com/rust-lang/rust-analyzer/blob/HEAD/lib/smol_str/CHANGELOG.md#030---2024-09-04) - Remove deprecated `SmolStr::new_inline_from_ascii` function - Remove `SmolStr::to_string` in favor of `ToString::to_string` - Add `impl AsRef<[u8]> for SmolStr` impl - Add `impl AsRef<OsStr> for SmolStr` impl - Add `impl AsRef<Path> for SmolStr` impl - Add `SmolStrBuilder` </details> --- ### Configuration 📅 **Schedule**: (UTC) - Branch creation - At any time (no schedule defined) - 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. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My4yODguMCIsInVwZGF0ZWRJblZlciI6IjQzLjI4OC4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->
chore(deps): update rust crate smol_str to 0.3
Some checks failed
Lint / lint (pull_request) Failing after 4m26s
c3e78a1126
Renovate force-pushed renovate/rust-analyzer-monorepo from c3e78a1126
Some checks failed
Lint / lint (pull_request) Failing after 4m26s
to 3ff5ebd886
Some checks failed
Lint / lint (pull_request) Failing after 9m0s
2026-09-29 01:02:50 +00:00
Compare
Renovate force-pushed renovate/rust-analyzer-monorepo from 3ff5ebd886
Some checks failed
Lint / lint (pull_request) Failing after 9m0s
to 200efe41ef
Some checks failed
Lint / lint (pull_request) Failing after 4m12s
2026-09-30 01:42:03 +00:00
Compare
Renovate force-pushed renovate/rust-analyzer-monorepo from 200efe41ef
Some checks failed
Lint / lint (pull_request) Failing after 4m12s
to bf58b65043
Some checks failed
Lint / lint (pull_request) Failing after 4m1s
2026-09-30 02:30:21 +00:00
Compare
Renovate force-pushed renovate/rust-analyzer-monorepo from bf58b65043
Some checks failed
Lint / lint (pull_request) Failing after 4m1s
to bd451fc032
Some checks failed
Lint / lint (pull_request) Failing after 4m2s
2026-09-30 03:03:27 +00:00
Compare
fix(deps): keep smol_str on 0.2 until the winit pin moves to 0.3
All checks were successful
Lint / lint (pull_request) Successful in 4m17s
49336c5668
The 0.2 -> 0.3 bump breaks the build. iced_core re-exports smol_str::SmolStr
and iced_winit converts winit:⌨️:Key straight into
iced_core:⌨️:Key. The pinned Orbital-Winit fork hard-codes
smol_str = "0.2.0", so after the bump both SmolStr types are in the graph
and the two sides no longer unify:

  error[E0308]: mismatched types
     --> Crates/orbital-iced/winit/src/conversion.rs:552:72
  552 |  winit:⌨️:Key::Character(c) => keyboard::Key::Character(c),
     = note: there are multiple different versions of crate `smol_str`
  error: could not compile `iced_winit` (lib)

Reverts the Cargo.toml/Cargo.lock bump and adds a Renovate packageRule
(allowedVersions <0.3.0) so the unbuildable 0.3 upgrade is not proposed
again. This mirrors the existing bincode rule. The bump can be retried once
the winit pin is repointed at a revision that requires smol_str 0.3.
SakulFlee deleted branch renovate/rust-analyzer-monorepo 2026-09-30 03:17:32 +00:00
Sign in to join this conversation.
No description provided.