Skip to content

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jun 1, 2025

Bumps the lsp group with 4 updates: cargo, cargo-util, tempfile and tokio.

Updates cargo from 0.87.1 to 0.88.0

Commits

Updates cargo-util from 0.2.19 to 0.2.20

Commits

Updates tempfile from 3.19.1 to 3.20.0

Changelog

Sourced from tempfile's changelog.

3.20.0

This release mostly unifies the behavior/capabilities around "keeping" temporary files:

  • Rename Builder::keep(bool) (via deprecation) to Builder::disable_cleanup(bool) to make it clear that behaves differently from NamedTempFile::keep(). The former disables automatic cleanup while the latter consumes the NamedTempFile object entirely and unsets the "temporary file" attribute (on Windows).
  • Rename TempDir::into_path (via deprecation) to TempDir::keep to mirror NamedTempFile::keep.
  • Add TempDir::disable_cleanup, NamedTempFile::disable_cleanup, and TempPath::disable_cleanup making it possible to disable automatic cleanup in-place after creating a temporary file/directory (equivalent to calling Builder::disable_cleanup before creating the file/directory).

Additionally, it adds a few spooled temporary file features:

  • Add SpooledTempFile::into_file for turning a SpooledTempFile into a regular unnamed temporary file, writing it to the backing storage ("rolling" it) if it was still stored in-memory.
  • Add spooled_tempfile_in and SpooledTempFile::new_in methods for creating spooled temporary files in a specific directory. This makes it possible to choose the backing device for your spooled temporary file which is rather important on Linux where the default temporary directory is likely backed by memory (defeating the entire point of having a spooled temporary file).

Finally, this release improves documentation, especially the top-level documentation explaining which temporary file type to use.

BREAKING for those with deny(warnings):

  • Builder::keep deprecated in favor of Builder::disable_cleanup.
  • TempDir::into_path is deprecated in favor of TempDir::keep.

BREAKING:

Commits
  • 99ffea6 chore: release v3.20.0 (#358)
  • bd2b267 feat: make it possible to disable cleanup in-place after creation (#355)
  • 3b30099 ci: really check docs for warnings (#357)
  • f701f52 ci: check docs (#356)
  • d34afe9 doc: improve SpooledData documentation
  • 6deb42e doc: make it easier to pick the correct tempfile constructor/type
  • e284782 feat: allow creating spooled temporary files in a specific directory (#353)
  • 07edc31 feat: implement SpooledTempFile::into_file (#352)
  • b122355 fix: add must_use attribute to TempDir::keep (#351)
  • cbd1e97 feat: rename TempDir::into_path to TempDir::keep (#349)
  • Additional commits viewable in compare view

Updates tokio from 1.44.2 to 1.45.1

Release notes

Sourced from tokio's releases.

Tokio v1.45.1

1.45.1 (May 24th, 2025)

This fixes a regression on the wasm32-unknown-unknown target, where code that previously did not panic due to calls to Instant::now() started failing. This is due to the stabilization of the first time-based metric.

Fixed

  • Disable time-based metrics on wasm32-unknown-unknown (#7322)

#7322: tokio-rs/tokio#7322

Tokio v1.45.0

Added

  • metrics: stabilize worker_total_busy_duration, worker_park_count, and worker_unpark_count (#6899, #7276)
  • process: add Command::spawn_with (#7249)

Changed

  • io: do not require Unpin for some trait impls (#7204)
  • rt: mark runtime::Handle as unwind safe (#7230)
  • time: revert internal sharding implementation (#7226)

Unstable

  • rt: remove alt multi-threaded runtime (#7275)

#6899: tokio-rs/tokio#6899 #7276: tokio-rs/tokio#7276 #7249: tokio-rs/tokio#7249 #7204: tokio-rs/tokio#7204 #7230: tokio-rs/tokio#7230 #7226: tokio-rs/tokio#7226 #7275: tokio-rs/tokio#7275

Commits
  • 3768696 chore: prepare Tokio v1.45.1 (#7359)
  • 421a7b0 rt: do not track time-based metrics on wasm32-unknown-unknown (#7322)
  • b1bdb3c ci: update macros_type_mismatch for Rust 1.87.0 (#7339)
  • 00754c8 chore: prepare Tokio v1.45.0 (#7308)
  • 1ae9434 time: revert "use sharding for timer implementation" related changes (#7226)
  • 8895bba ci: Test AArch64 Windows (#7288)
  • 48ca254 time: update sleep documentation to reflect maximum allowed duration (#7302)
  • a0af02a compat: add more documentation to tokio_util::compat (#7279)
  • 0ce3a11 metrics: stabilize worker_park_count and worker_unpark_count (#7276)
  • 1ea9ce1 ci: fix cfg!(miri) declarations in tests (#7286)
  • Additional commits viewable in compare view

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore <dependency name> major version will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
  • @dependabot ignore <dependency name> minor version will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
  • @dependabot ignore <dependency name> will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
  • @dependabot unignore <dependency name> will remove all of the ignore conditions of the specified dependency
  • @dependabot unignore <dependency name> <ignore condition> will remove the ignore condition of the specified dependency and ignore conditions

Bumps the lsp group with 4 updates: [cargo](https://github.com/rust-lang/cargo), [cargo-util](https://github.com/rust-lang/cargo), [tempfile](https://github.com/Stebalien/tempfile) and [tokio](https://github.com/tokio-rs/tokio).


Updates `cargo` from 0.87.1 to 0.88.0
- [Changelog](https://github.com/rust-lang/cargo/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-lang/cargo/commits/0.88.0)

Updates `cargo-util` from 0.2.19 to 0.2.20
- [Changelog](https://github.com/rust-lang/cargo/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-lang/cargo/commits)

Updates `tempfile` from 3.19.1 to 3.20.0
- [Changelog](https://github.com/Stebalien/tempfile/blob/master/CHANGELOG.md)
- [Commits](Stebalien/tempfile@v3.19.1...v3.20.0)

Updates `tokio` from 1.44.2 to 1.45.1
- [Release notes](https://github.com/tokio-rs/tokio/releases)
- [Commits](tokio-rs/tokio@tokio-1.44.2...tokio-1.45.1)

---
updated-dependencies:
- dependency-name: cargo
  dependency-version: 0.88.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: lsp
- dependency-name: cargo-util
  dependency-version: 0.2.20
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: lsp
- dependency-name: tempfile
  dependency-version: 3.20.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: lsp
- dependency-name: tokio
  dependency-version: 1.45.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: lsp
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file rust Pull requests that update rust code labels Jun 1, 2025
@github-actions github-actions bot merged commit c01998f into main Jun 1, 2025
4 of 6 checks passed
@github-actions github-actions bot deleted the dependabot/cargo/lsp-8fdea17ae0 branch June 1, 2025 08:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file rust Pull requests that update rust code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants