chore(deps): Update Rust crate tempfile to v3.10.1 #94
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
3.3.0
->3.10.1
Release Notes
Stebalien/tempfile (tempfile)
v3.10.1
Compare Source
Thanks to @stoeckmann for finding and fixing both of these issues.
v3.10.0
Compare Source
redox_syscall
dependency, we now userustix
for Redox.Builder::permissions
for setting the permissions on temporary files and directories (thanks to @Byron).v3.9.0
Compare Source
v3.8.1
Compare Source
persist_noclobber
on android.v3.8.0
Compare Source
with_prefix
andwith_prefix_in
toTempDir
andNamedTempFile
to make it easier to create temporary files/directories with nice prefixes.v3.7.1
Compare Source
v3.7.0
Compare Source
BREAKING: This release updates the MSRV to 1.63. This isn't an API-breaking change (so no major
release) but it's still a breaking change for some users.
v3.6.0
Compare Source
NamedTempFile
andSpooledTempFile
methods to the underlyingFile
object forbetter performance (especially vectorized writes, etc.).
AsFd
andAsHandle
.v3.5.0
Compare Source
windows-sys
,redox_syscall
Write for &NamedTempFile<F> where &F: Write
. Unfortunately, this can cause compile issues in unrelated code (https://github.com/Stebalien/tempfile/issues/224).v3.4.0
Compare Source
SECURITY: Prior
tempfile
releases depended onremove_dir_all
version 0.5.0 which was vulnerable to a TOCTOU race. This same race is present in rust versions prior to 1.58.1.Features:
NamedTempFile
can now abstract over different kinds of files (e.g.,unix domain sockets, pipes, etc.):
Builder::make
andBuilder::make_in
for generalized temp filecreation.
NamedTempFile::from_parts
to complementNamedTempFile::into_parts
.NamedTempFile
to support wrapping non-File types.Bug Fixes/Improvements:
the user (no random characters).
NamedTempFile::persist_noclobber
is now always atomic on linux whenrenameat_with
issupported. Previously, it would first link the new path, then unlink the previous path.
Trivia:
libc
torustix
on wasi/unix. This now makes direct syscalls instead of callingthrough libc.
remove_dir_all
dependency. The rust standard library has optimized their internal versionsignificantly.
Breaking:
1.48.0
.must_use
.NamedTempFile
may lead to type inference issues in some cases.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 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.