Skip to content

Commit

Permalink
chore(deps): Update compatible (dev) (#815)
Browse files Browse the repository at this point in the history
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [divan](https://redirect.github.com/nvzqz/divan) | dev-dependencies |
patch | `0.1.14` -> `0.1.16` |
| [serde](https://serde.rs)
([source](https://redirect.github.com/serde-rs/serde)) |
dev-dependencies | patch | `1.0.214` -> `1.0.215` |
| [serde_derive](https://serde.rs)
([source](https://redirect.github.com/serde-rs/serde)) |
dev-dependencies | patch | `1.0.214` -> `1.0.215` |
| [serde_json](https://redirect.github.com/serde-rs/json) |
dev-dependencies | patch | `1.0.132` -> `1.0.133` |
|
[snapbox](https://redirect.github.com/assert-rs/trycmd/tree/main/crates/snapbox)
([source](https://redirect.github.com/assert-rs/snapbox)) |
dev-dependencies | patch | `0.6.19` -> `0.6.20` |

---

### Release Notes

<details>
<summary>nvzqz/divan (divan)</summary>

###
[`v0.1.16`](https://redirect.github.com/nvzqz/divan/blob/HEAD/CHANGELOG.md#0116---2024-11-25)

[Compare
Source](https://redirect.github.com/nvzqz/divan/compare/v0.1.15...v0.1.16)

##### Added

- Thread pool for reusing threads across multi-threaded benchmarks. The
result
    is that when running Divan benchmarks under a sampling profiler, the
profiler's output will be cleaner and easier to understand.
(\[[#&#8203;37](https://redirect.github.com/nvzqz/divan/issues/37)])

-   Track the maximum number of allocations during a benchmark.

##### Changed

- Make private `Arg::get` trait method not take `self`, so that text
editors
don't recommend using it.
(\[[#&#8203;59](https://redirect.github.com/nvzqz/divan/issues/59)])

- Cache `BenchOptions` using `LazyLock` instead of `OnceLock`, saving
space and
    simplifying the implementation.

###
[`v0.1.15`](https://redirect.github.com/nvzqz/divan/blob/HEAD/CHANGELOG.md#0115---2024-10-31)

[Compare
Source](https://redirect.github.com/nvzqz/divan/compare/v0.1.14...v0.1.15)

##### Added

-   \[`CyclesCount`] counter to display cycle throughput as Hertz.

-   Track the maximum number of bytes allocated during a benchmark.

##### Removed

- Remove `has_cpuid` polyfill due to it no longer being planned for
Rust, since
    CPUID is assumed to be available on all old x86 Rust targets.

##### Fixed

- List generic benchmark type parameter `A<4>` before `A<32>`.
(\[[#&#8203;64](https://redirect.github.com/nvzqz/divan/issues/64)])

- Improve precision by using `f64` when calculating allocation count and
sizes
    for the median samples.

- Multi-thread allocation counting in `sum_alloc_tallies` on macOS was
loading a
    null pointer instead of the pointer initialized by `sync_threads`.

##### Changes

-   Sort all output benchmark names
[naturally](https://en.wikipedia.org/wiki/Natural_sort_order) instead of
[lexicographically](https://en.wikipedia.org/wiki/Lexicographic_order).

-   Internally reuse \[`&[&str]` slice]\[slice] for \[`args`] names.

- Subtract overhead of \[`AllocProfiler`] from timings. Now that Divan
also
tracks the maximum bytes allocated, the overhead was apparent in
timings.

-   Simplify `ThreadAllocInfo::clear`.

- Move measured loop overhead from `SharedContext` to global `OnceLock`.

- Macros no longer rely on `std` being re-exported by Divan. Instead
they use
`::std` or `::core` to greatly simplify code. Although this is
technically a
breaking change, it is extremely unlikely to do `extern crate std as x`.

</details>

<details>
<summary>serde-rs/serde (serde)</summary>

###
[`v1.0.215`](https://redirect.github.com/serde-rs/serde/releases/tag/v1.0.215)

[Compare
Source](https://redirect.github.com/serde-rs/serde/compare/v1.0.214...v1.0.215)

- Produce warning when multiple fields or variants have the same
deserialization name
([#&#8203;2855](https://redirect.github.com/serde-rs/serde/issues/2855),
[#&#8203;2856](https://redirect.github.com/serde-rs/serde/issues/2856),
[#&#8203;2857](https://redirect.github.com/serde-rs/serde/issues/2857))

</details>

<details>
<summary>serde-rs/json (serde_json)</summary>

###
[`v1.0.133`](https://redirect.github.com/serde-rs/json/releases/tag/v1.0.133)

[Compare
Source](https://redirect.github.com/serde-rs/json/compare/v1.0.132...v1.0.133)

- Implement From<\[T; N]> for serde_json::Value
([#&#8203;1215](https://redirect.github.com/serde-rs/json/issues/1215))

</details>

<details>
<summary>assert-rs/snapbox (snapbox)</summary>

###
[`v0.6.20`](https://redirect.github.com/assert-rs/snapbox/compare/snapbox-v0.6.19...snapbox-v0.6.20)

[Compare
Source](https://redirect.github.com/assert-rs/snapbox/compare/snapbox-v0.6.19...snapbox-v0.6.20)

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "before 5am on the first day of the
month" (UTC), Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR is behind base branch, or you tick the
rebase/retry checkbox.

👻 **Immortal**: This PR will be recreated if closed unmerged. Get
[config
help](https://redirect.github.com/renovatebot/renovate/discussions) if
that's undesired.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/toml-rs/toml).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4xOS4wIiwidXBkYXRlZEluVmVyIjoiMzkuMTkuMCIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOltdfQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
  • Loading branch information
renovate[bot] authored Dec 1, 2024
1 parent ee85b0f commit 4262a46
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 4262a46

Please sign in to comment.