Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: bump dependency versions and move to Rust 1.80 #47

Merged
merged 3 commits into from
Sep 5, 2024

Conversation

antiguru
Copy link
Contributor

Update the version of dependencies to current versions, and move to Rust
1.80. Currently, the crate cannot be compiled on anything newer than
Rust 1.77 because that's the latest version supported by the previous
cargo dependency. Updating it to a more recent version fixes compile
problems that appear within gix.

Signed-off-by: Moritz Hoffmann [email protected]

Update the version of dependencies to current versions, and move to Rust
1.80. Currently, the crate cannot be compiled on anything newer than
Rust 1.77 because that's the latest version supported by the previous
cargo dependency. Updating it to a more recent version fixes compile
problems that appear within gix.

Signed-off-by: Moritz Hoffmann <[email protected]>
@antiguru
Copy link
Contributor Author

Works here: antiguru/flatcontainer#64

@art049 art049 changed the title Bump dependency versions, move to Rust 1.80 chore: bump dependency versions and move to Rust 1.80 Sep 5, 2024
Copy link

codspeed-hq bot commented Sep 5, 2024

CodSpeed Performance Report

Merging #47 will degrade performances by 10.27%

Comparing antiguru:bump_versions (5ac7bc9) with main (6b96b80)

Summary

⚡ 2 improvements
❌ 1 (👁 1) regressions
✅ 51 untouched benchmarks

Benchmarks breakdown

Benchmark main antiguru:bump_versions Change
fibo_recursive 945.8 ns 916.7 ns +3.18%
👁 sum_fold 254.7 ns 283.9 ns -10.27%
fibonacci_custom_measurement 945.8 ns 916.7 ns +3.18%

@art049 art049 merged commit 814fb2b into CodSpeedHQ:main Sep 5, 2024
4 checks passed
renovate bot referenced this pull request in Boshen/criterion2.rs Sep 22, 2024
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [async-std](https://async.rs)
([source](https://redirect.github.com/async-rs/async-std)) |
dependencies | minor | `1.12.0` -> `1.13.0` |
| [bpaf](https://redirect.github.com/pacak/bpaf) | dependencies | patch
| `0.9.12` -> `0.9.14` |
| [codspeed](https://codspeed.io)
([source](https://redirect.github.com/CodSpeedHQ/codspeed-rust)) |
dependencies | minor | `2.6.0` -> `2.7.2` |
| [serde](https://serde.rs)
([source](https://redirect.github.com/serde-rs/serde)) | dependencies |
patch | `1.0.209` -> `1.0.210` |
| [serde_json](https://redirect.github.com/serde-rs/json) | dependencies
| patch | `1.0.127` -> `1.0.128` |
| [smol](https://redirect.github.com/smol-rs/smol) | dependencies |
patch | `2.0.1` -> `2.0.2` |
| [tokio](https://tokio.rs)
([source](https://redirect.github.com/tokio-rs/tokio)) | dependencies |
minor | `1.39.3` -> `1.40.0` |

---

### Release Notes

<details>
<summary>async-rs/async-std (async-std)</summary>

###
[`v1.13.0`](https://redirect.github.com/async-rs/async-std/blob/HEAD/CHANGELOG.md#1130---2024-09-06)

[Compare
Source](https://redirect.github.com/async-rs/async-std/compare/v1.12.0...v1.13.0)

#### Added

-   IO Safety traits implementations

#### Changed

-   Various dependencies updates
-   Export `BufReadExt` and `SeekExt` from `async_std::io`

</details>

<details>
<summary>pacak/bpaf (bpaf)</summary>

###
[`v0.9.14`](https://redirect.github.com/pacak/bpaf/blob/HEAD/Changelog.md#bpaf-0914--2024-09-19)

[Compare
Source](https://redirect.github.com/pacak/bpaf/compare/v0.9.13...v0.9.14)

- add license files
([#&#8203;388](https://redirect.github.com/pacak/bpaf/issues/388))
    thanks [@&#8203;davide](https://redirect.github.com/davide)
- fix fish completions - you'll need to regenerate completion files for
them to work

###
[`v0.9.13`](https://redirect.github.com/pacak/bpaf/blob/HEAD/Changelog.md#bpaf-0913--bpafderive-0513---2024-09-06)

[Compare
Source](https://redirect.github.com/pacak/bpaf/compare/v0.9.12...v0.9.13)

- You can now use `fallback_to_usage` in derive macro for options and
subcommands
([#&#8203;376](https://redirect.github.com/pacak/bpaf/issues/376))
-   Bugfixes related to shell completion and file masks
    thanks [@&#8203;ozwaldorf](https://redirect.github.com/ozwaldorf)
- `not_strict` restriction for positional items (TODO - check the docs)
    thanks [@&#8203;ozwaldorf](https://redirect.github.com/ozwaldorf)
- more shell completion bugfixes
([#&#8203;384](https://redirect.github.com/pacak/bpaf/issues/384),
[#&#8203;382](https://redirect.github.com/pacak/bpaf/issues/382),
[#&#8203;381](https://redirect.github.com/pacak/bpaf/issues/381))
- `ParseFailure::print_mesage` (with one `s` is deprecated in favor of
the right spelling

</details>

<details>
<summary>CodSpeedHQ/codspeed-rust (codspeed)</summary>

###
[`v2.7.2`](https://redirect.github.com/CodSpeedHQ/codspeed-rust/releases/tag/v2.7.2)

[Compare
Source](https://redirect.github.com/CodSpeedHQ/codspeed-rust/compare/v2.7.1...v2.7.2)

#### What's Changed

- feat: add prebuilt aarch64 binary by
[@&#8203;art049](https://redirect.github.com/art049) in
[https://github.com/CodSpeedHQ/codspeed-rust/pull/53](https://redirect.github.com/CodSpeedHQ/codspeed-rust/pull/53)
- fix: allow building codspeed-rust on unsupported architectures by
[@&#8203;art049](https://redirect.github.com/art049) in
[https://github.com/CodSpeedHQ/codspeed-rust/pull/54](https://redirect.github.com/CodSpeedHQ/codspeed-rust/pull/54)

**Full Changelog**:
CodSpeedHQ/codspeed-rust@v2.7.1...v2.7.2

###
[`v2.7.1`](https://redirect.github.com/CodSpeedHQ/codspeed-rust/releases/tag/v2.7.1)

[Compare
Source](https://redirect.github.com/CodSpeedHQ/codspeed-rust/compare/v2.7.0...v2.7.1)

#### What's Changed

- chore: set MSRV to 1.74 and enforce it in CI by
[@&#8203;art049](https://redirect.github.com/art049) in
[https://github.com/CodSpeedHQ/codspeed-rust/pull/52](https://redirect.github.com/CodSpeedHQ/codspeed-rust/pull/52)

**Full Changelog**:
CodSpeedHQ/codspeed-rust@v2.7.0...v2.7.1

###
[`v2.7.0`](https://redirect.github.com/CodSpeedHQ/codspeed-rust/releases/tag/v2.7.0)

[Compare
Source](https://redirect.github.com/CodSpeedHQ/codspeed-rust/compare/v2.6.0...v2.7.0)

#### What's Changed

- feat(cargo-codspeed): allow custom build profile selection by
[@&#8203;art049](https://redirect.github.com/art049) in
[https://github.com/CodSpeedHQ/codspeed-rust/pull/49](https://redirect.github.com/CodSpeedHQ/codspeed-rust/pull/49)
- fix(cargo-codspeed): display run bench command error by
[@&#8203;adriencaccia](https://redirect.github.com/adriencaccia) in
[https://github.com/CodSpeedHQ/codspeed-rust/pull/45](https://redirect.github.com/CodSpeedHQ/codspeed-rust/pull/45)
- chore: bump dependency versions and move to Rust 1.80 by
[@&#8203;antiguru](https://redirect.github.com/antiguru) in
[https://github.com/CodSpeedHQ/codspeed-rust/pull/47](https://redirect.github.com/CodSpeedHQ/codspeed-rust/pull/47)

#### New Contributors

- [@&#8203;antiguru](https://redirect.github.com/antiguru) made their
first contribution in
[https://github.com/CodSpeedHQ/codspeed-rust/pull/47](https://redirect.github.com/CodSpeedHQ/codspeed-rust/pull/47)

**Full Changelog**:
CodSpeedHQ/codspeed-rust@v2.6.0...v2.7.0

</details>

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

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

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

- Support serializing and deserializing `IpAddr` and `SocketAddr` in
no-std mode on Rust 1.77+
([#&#8203;2816](https://redirect.github.com/serde-rs/serde/issues/2816),
thanks [@&#8203;MathiasKoch](https://redirect.github.com/MathiasKoch))
- Make `serde::ser::StdError` and `serde::de::StdError` equivalent to
`core::error::Error` on Rust 1.81+
([#&#8203;2818](https://redirect.github.com/serde-rs/serde/issues/2818))

</details>

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

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

[Compare
Source](https://redirect.github.com/serde-rs/json/compare/1.0.127...1.0.128)

- Support serializing maps containing 128-bit integer keys to
serde_json::Value
([#&#8203;1188](https://redirect.github.com/serde-rs/json/issues/1188),
thanks [@&#8203;Mrreadiness](https://redirect.github.com/Mrreadiness))

</details>

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

###
[`v2.0.2`](https://redirect.github.com/smol-rs/smol/blob/HEAD/CHANGELOG.md#Version-202)

[Compare
Source](https://redirect.github.com/smol-rs/smol/compare/v2.0.1...v2.0.2)

- Update docs to mention `smol-macros`.
([#&#8203;319](https://redirect.github.com/smol-rs/smol/issues/319))

</details>

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

###
[`v1.40.0`](https://redirect.github.com/tokio-rs/tokio/releases/tag/tokio-1.40.0):
Tokio v1.40.0

[Compare
Source](https://redirect.github.com/tokio-rs/tokio/compare/tokio-1.39.3...tokio-1.40.0)

### 1.40.0 (August 30th, 2024)

##### Added

-   io: add `util::SimplexStream` ([#&#8203;6589])
-   process: stabilize `Command::process_group` ([#&#8203;6731])
- sync: add `{TrySendError,SendTimeoutError}::into_inner`
([#&#8203;6755])
-   task: add `JoinSet::join_all` ([#&#8203;6784])

##### Added (unstable)

- runtime: add `Builder::{on_task_spawn, on_task_terminate}`
([#&#8203;6742])

##### Changed

- io: use vectored io for `write_all_buf` when possible ([#&#8203;6724])
- runtime: prevent niche-optimization to avoid triggering miri
([#&#8203;6744])
-   sync: mark mpsc types as `UnwindSafe` ([#&#8203;6783])
- sync,time: make `Sleep` and `BatchSemaphore` instrumentation explicit
roots ([#&#8203;6727])
-   task: use `NonZeroU64` for `task::Id` ([#&#8203;6733])
- task: include panic message when printing `JoinError` ([#&#8203;6753])
- task: add `#[must_use]` to `JoinHandle::abort_handle` ([#&#8203;6762])
-   time: eliminate timer wheel allocations ([#&#8203;6779])

##### Documented

- docs: clarify that `[build]` section doesn't go in Cargo.toml
([#&#8203;6728])
-   io: clarify zero remaining capacity case ([#&#8203;6790])
-   macros: improve documentation for `select!` ([#&#8203;6774])
-   sync: document mpsc channel allocation behavior ([#&#8203;6773])

[#&#8203;6589]: https://redirect.github.com/tokio-rs/tokio/pull/6589

[#&#8203;6724]: https://redirect.github.com/tokio-rs/tokio/pull/6724

[#&#8203;6727]: https://redirect.github.com/tokio-rs/tokio/pull/6727

[#&#8203;6728]: https://redirect.github.com/tokio-rs/tokio/pull/6728

[#&#8203;6731]: https://redirect.github.com/tokio-rs/tokio/pull/6731

[#&#8203;6733]: https://redirect.github.com/tokio-rs/tokio/pull/6733

[#&#8203;6742]: https://redirect.github.com/tokio-rs/tokio/pull/6742

[#&#8203;6744]: https://redirect.github.com/tokio-rs/tokio/pull/6744

[#&#8203;6753]: https://redirect.github.com/tokio-rs/tokio/pull/6753

[#&#8203;6755]: https://redirect.github.com/tokio-rs/tokio/pull/6755

[#&#8203;6762]: https://redirect.github.com/tokio-rs/tokio/pull/6762

[#&#8203;6773]: https://redirect.github.com/tokio-rs/tokio/pull/6773

[#&#8203;6774]: https://redirect.github.com/tokio-rs/tokio/pull/6774

[#&#8203;6779]: https://redirect.github.com/tokio-rs/tokio/pull/6779

[#&#8203;6783]: https://redirect.github.com/tokio-rs/tokio/pull/6783

[#&#8203;6784]: https://redirect.github.com/tokio-rs/tokio/pull/6784

[#&#8203;6790]: https://redirect.github.com/tokio-rs/tokio/pull/6790

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "before 10am on monday" in timezone
Asia/Shanghai, 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/Boshen/criterion2.rs).

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

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
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.

2 participants