marc2332 / freya

Cross-platform GUI library for 🦀 Rust powered by 🧬 Dioxus and 🎨 Skia.
https://freyaui.dev/
MIT License
1.41k stars 56 forks source link

chore(deps): update rust crate rustc-hash to v2 #725

Closed renovate[bot] closed 2 months ago

renovate[bot] commented 2 months ago

Mend Renovate

This PR contains the following updates:

Package Type Update Change
rustc-hash workspace.dependencies major 1.1.0 -> 2.0.0

Release Notes

rust-lang/rustc-hash (rustc-hash) ### [`v2.0.0`](https://togithub.com/rust-lang/rustc-hash/blob/HEAD/CHANGELOG.md#200) - Replace hash with faster and better finalized hash. This replaces the previous "fxhash" algorithm originating in Firefox with a custom hasher designed and implemented by Orson Peters ([`@orlp`](https://togithub.com/orlp)). It was measured to have slightly better performance for rustc, has better theoretical properties and also includes a signficantly better string hasher. - Fix `no_std` builds ### [`v1.2.0`](https://togithub.com/rust-lang/rustc-hash/blob/HEAD/CHANGELOG.md#120-YANKED) **Note: This version has been yanked due to issues with the `no_std` feature!** - Add a `FxBuildHasher` unit struct - Improve documentation - Add seed API for supplying custom seeds other than 0 - Add `FxRandomState` based on `rand` (behind the `rand` feature) for random seeds - Make many functions `const fn` - Implement `Clone` for `FxHasher` struct

Configuration

📅 Schedule: 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.



This PR has been generated by Mend Renovate. View repository job log here.

codecov[bot] commented 2 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 73.91%. Comparing base (fa648ba) to head (3fb38dd).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #725 +/- ## ========================================== - Coverage 73.91% 73.91% -0.01% ========================================== Files 198 198 Lines 20321 20321 ========================================== - Hits 15021 15020 -1 - Misses 5300 5301 +1 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

github-actions[bot] commented 2 months ago

Benchmark for f62e2e7

Click to view benchmark | Test | Base | PR | % | |------|--------------|------------------|---| | benchmarks/alignments=true size=21845 depth=8 wide=4 mode=not cached | **108.9±0.59ms** | 109.6±1.96ms | **+0.64%** | | benchmarks/size=100001 depth=2 wide=100000 mode=not cached | 25.4±1.17ms | 25.9±1.10ms | +1.97% | | benchmarks/size=10001 depth=2 wide=10000 mode=not cached | 1444.6±14.66µs | 1442.5±17.99µs | -0.15% | | benchmarks/size=1001 depth=2 wide=1000 mode=not cached | **136.1±1.46µs** | 139.0±1.66µs | **+2.13%** | | benchmarks/size=131071 depth=17 wide=2 mode=not cached | 24.4±0.46ms | 24.7±0.45ms | +1.23% | | benchmarks/size=16383 depth=14 wide=2 mode=not cached | 1714.0±7.20µs | **1706.4±39.63µs** | **-0.44%** | | benchmarks/size=19531 depth=7 wide=5 mode=cached | 360.8±21.10µs | **319.0±20.75µs** | **-11.59%** | | benchmarks/size=19531 depth=7 wide=5 mode=not cached | 2.7±0.03ms | 2.7±0.01ms | 0.00% | | benchmarks/size=4095 depth=12 wide=2 mode=not cached | 421.5±153.20µs | 420.8±103.81µs | -0.17% | | benchmarks/size=54241 depth=5 wide=15 mode=cached | 295.7±149.37µs | **254.0±19.14µs** | **-14.10%** | | benchmarks/size=54241 depth=5 wide=15 mode=not cached | 6.9±0.31ms | **6.6±0.19ms** | **-4.35%** |