An open index of dependabot pull requests across open source projects.

build(deps): bump the crates group across 1 directory with 76 updates

Open
Number: #13
Type: Pull Request
State: Open
Author: dependabot[bot] dependabot[bot]
Association: Contributor
Comments: 1
Created: August 28, 2025 at 05:05 PM UTC
(15 days ago)
Updated: September 01, 2025 at 10:23 PM UTC
(11 days ago)
Labels:
dependencies rust
Description:

Bumps the crates group with 59 updates in the /userspace/ksud directory:

Package From To
anyhow 1.0.96 1.0.99
clap 4.5.30 4.5.46
zip 2.2.2 4.5.0
log 0.4.26 0.4.27
env_logger 0.11.6 0.11.8
serde_json 1.0.139 1.0.143
libc 0.2.170 0.2.175
is_executable 1.0.4 1.0.5
rust-embed 8.5.0 8.7.2
which 7.0.2 8.0.0
getopts 0.2.21 0.2.23
sha256 1.5.0 1.6.0
tempfile 3.17.1 3.21.0
chrono 0.4.39 0.4.41
regex-lite 0.1.6 0.1.7
fs4 0.13.0 0.13.1
android_logger 0.14.1 0.15.1
adler2 2.0.0 2.0.1
ahash 0.8.11 0.8.12
anstream 0.6.18 0.6.20
anstyle 1.0.10 1.0.11
anstyle-parse 0.2.6 0.2.7
anstyle-query 1.1.2 1.1.4
anstyle-wincon 3.0.7 3.0.10
arbitrary 1.4.1 1.4.2
async-trait 0.1.86 0.1.89
autocfg 1.4.0 1.5.0
backtrace 0.3.74 0.3.75
bumpalo 3.17.0 3.19.0
bytes 1.10.0 1.10.1
cc 1.2.15 1.2.34
clap_lex 0.7.4 0.7.5
colorchoice 1.0.3 1.0.4
crc 3.2.1 3.3.0
crc32fast 1.4.2 1.5.0
crossbeam-channel 0.5.14 0.5.15
derive_arbitrary 1.4.1 1.4.2
either 1.14.0 1.15.0
flate2 1.0.35 1.1.2
getrandom 0.3.1 0.3.3
iana-time-zone 0.1.61 0.1.63
include-flate 0.3.0 0.3.1
indexmap 2.7.1 2.11.0
itoa 1.0.14 1.0.15
libm 0.2.11 0.2.15
memchr 2.7.4 2.7.5
miniz_oxide 0.8.5 0.8.9
once_cell 1.20.3 1.21.3
rayon 1.10.0 1.11.0
rustc-demangle 0.1.24 0.1.26
rustversion 1.0.19 1.0.22
ryu 1.0.19 1.0.20
serde 1.0.218 1.0.219
sha2 0.10.8 0.10.9
time 0.3.37 0.3.41
tokio 1.43.0 1.47.1
unicode-ident 1.0.17 1.0.18
winapi-util 0.1.9 0.1.10
zopfli 0.8.1 0.8.2

Updates anyhow from 1.0.96 to 1.0.99

Release notes

Sourced from anyhow's releases.

1.0.99

  • Allow build-script cleanup failure with NFSv3 output directory to be non-fatal (#420)

1.0.98

1.0.97

  • Documentation improvements
Commits
  • f2b963a Release 1.0.99
  • 2c64c15 Merge pull request #420 from dtolnay/enotempty
  • 8cf66f7 Allow build-script cleanup failure with NFSv3 output directory to be non-fatal
  • f5e145c Revert "Pin nightly toolchain used for miri job"
  • 1d7ef1d Update ui test suite to nightly-2025-06-30
  • 6929572 Update ui test suite to nightly-2025-06-18
  • 37224e3 Ignore mismatched_lifetime_syntaxes lint
  • 11f0e81 Pin nightly toolchain used for miri job
  • d04c999 Raise required compiler for backtrace feature to rust 1.82
  • 219d163 Update test suite to nightly-2025-05-01
  • Additional commits viewable in compare view

Updates clap from 4.5.30 to 4.5.46

Release notes

Sourced from clap's releases.

v4.5.46

[4.5.46] - 2025-08-26

Features

  • Expose StyledStr::push_str

v4.5.45

[4.5.45] - 2025-08-12

Fixes

  • (unstable-v5) ValueEnum variants now use the full doc comment, not summary, for PossibleValue::help

v4.5.44

[4.5.44] - 2025-08-11

Features

  • Add Command::mut_subcommands

v4.5.43

[4.5.43] - 2025-08-06

Fixes

  • (help) In long help, list Possible Values before defaults, rather than after, for a more consistent look

v4.5.42

[4.5.42] - 2025-07-30

Fixes

  • Include subcommand visible long aliases in --help

v4.5.39

[4.5.39] - 2025-05-27

Fixes

  • (help) Show short flag aliases before long
  • (help) Merge the short and long flag alias lists

v4.5.38

[4.5.38] - 2025-05-11

Fixes

  • (help) When showing aliases, include leading -- or -

... (truncated)

Changelog

Sourced from clap's changelog.

[4.5.46] - 2025-08-26

Features

  • Expose StyledStr::push_str

[4.5.45] - 2025-08-12

Fixes

  • (unstable-v5) ValueEnum variants now use the full doc comment, not summary, for PossibleValue::help

[4.5.44] - 2025-08-11

Features

  • Add Command::mut_subcommands

[4.5.43] - 2025-08-06

Fixes

  • (help) In long help, list Possible Values before defaults, rather than after, for a more consistent look

[4.5.42] - 2025-07-30

Fixes

  • Include subcommand visible long aliases in --help

[4.5.41] - 2025-07-09

Features

  • Add Styles::context and Styles::context_value to customize the styling of [default: value] like notes in the --help

[4.5.40] - 2025-06-09

Features

  • Support quoted ids in arg!() macro (e.g. arg!("check-config": ...))

[4.5.39] - 2025-05-27

Fixes

  • (help) Show short flag aliases before long
  • (help) Merge the short and long flag alias lists

[4.5.38] - 2025-05-11

... (truncated)

Commits
  • acf9abb chore: Release
  • 9186a18 docs: Update changelog
  • 233c316 Merge pull request #5926 from sorairolake/feature/value-parser-factory-for-sa...
  • 13931a2 Merge pull request #5923 from Reverier-Xu/master
  • 536e29f feat(builder): Add ValueParserFactory for Saturating\<T>
  • 45ed71c chore: Avoid using gen for rust 2024 preserved keyword
  • 5029bb3 chore: Avoid using gen for rust 2024 preserved keyword
  • 8a1d59b chore(deps): Update Rust Stable to v1.85 (#5921)
  • 9caee53 docs(changelog): Clarify 5.0.0
  • cb2352f Merge pull request #5918 from epage/test
  • Additional commits viewable in compare view

Updates zip from 2.2.2 to 4.5.0

Release notes

Sourced from zip's releases.

v4.5.0

๐Ÿš€ Features

  • Allow reading ZIP files where the central directory comes before the files (#384) (#396)

v4.4.0

๐Ÿš€ Features

  • Add lzma-static and xz-static features that enable liblzma/static (#393)

โš™๏ธ Miscellaneous Tasks

  • Move deprecated annotations to fix a Clippy warning (#391)

v4.3.0

๐Ÿš€ Features

  • Add support for PPMd (#370)

v4.2.0

๐Ÿš€ Features

  • Write ZIP file to stream (#246)

v4.1.0

๐Ÿš€ Features

  • Add has_overlapping_files method

v4.0.0

๐Ÿ› Bug Fixes

  • Allow extraction of Zip64 where "Version needed to extract" is higher than "Version made by" (#356)

โš™๏ธ Miscellaneous Tasks

  • Revert nt-time upgrade (would increase MSRV)
  • Revert constant_time_eq update (would increase MSRV)
  • Update fully-qualified names of liblzma imports

v3.0.0

๐Ÿ› Bug Fixes

  • return correct offset in SeekableTake::seek (#342)
  • When only zopfli is available, decompression of deflate should not be possible (#348)
  • Specify flate2 dependency of the deflate-flate2 feature. (#345)

โš™๏ธ Miscellaneous Tasks

  • drop unused crossbeam-utils dependency (#339)

... (truncated)

Changelog

Sourced from zip's changelog.

4.5.0 - 2025-08-21

๐Ÿš€ Features

  • Allow reading ZIP files where the central directory comes before the files (#384) (#396)

4.4.0 - 2025-08-21

๐Ÿš€ Features

  • Add lzma-static and xz-static features that enable liblzma/static (#393)

โš™๏ธ Miscellaneous Tasks

  • Move deprecated annotations to fix a Clippy warning (#391)

4.3.0 - 2025-07-09

๐Ÿš€ Features

  • Add support for PPMd (#370)

4.2.0 - 2025-06-21

๐Ÿš€ Features

  • Write ZIP file to stream (#246)

4.1.0 - 2025-06-14

๐Ÿš€ Features

  • Add has_overlapping_files method

4.0.0 - 2025-05-21

๐Ÿ› Bug Fixes

  • Allow extraction of Zip64 where "Version needed to extract" is higher than "Version made by" (#356)

โš™๏ธ Miscellaneous Tasks

  • Revert nt-time upgrade (would increase MSRV)
  • Revert constant_time_eq update (would increase MSRV)
  • Update fully-qualified names of liblzma imports

3.0.0 - 2025-05-14

๐Ÿ› Bug Fixes

  • return correct offset in SeekableTake::seek (#342)

... (truncated)

Commits
  • 4ce35f1 chore: release v4.5.0 (#397)
  • 3ed8bfe feat: Allow reading ZIP files where the central directory comes before the ...
  • f4a618d chore: release v4.4.0 (#395)
  • 51d5260 feat: Add lzma-static and xz-static features that enable liblzma/static...
  • 397a6d5 ci(deps): bump actions/checkout from 4 to 5 (#389)
  • 0f02da7 chore: Move deprecated annotations to fix a Clippy warning (#391)
  • 86ca38b Lock cargo-afl to 0.15.19 to work around a coverage bug (#392)
  • 6c78fe3 Bump version to 4.3.0 and update CHANGELOG
  • 741ca45 ci: Update release-plz configuration
  • 2c77a90 deps: Remove dependency on getrandom wasm backend (#336) (#372)
  • Additional commits viewable in compare view

Updates log from 0.4.26 to 0.4.27

Release notes

Sourced from log's releases.

0.4.27

What's Changed

Full Changelog: https://github.com/rust-lang/log/compare/0.4.26...0.4.27

Changelog

Sourced from log's changelog.

[0.4.27] - 2025-03-24

What's Changed

Full Changelog: https://github.com/rust-lang/log/compare/0.4.26...0.4.27

Commits
  • 35161d0 Merge pull request #674 from rust-lang/cargo/0.4.27
  • cc131ef prepare for 0.4.27 release
  • ea6f54d Merge pull request #673 from rust-lang/feat/logger-by-ref
  • d229c73 fix unclosed code block
  • 02486e4 fill in more tests for logger argument
  • 71e034f expand logger tests
  • dfa067e fix up kv passing
  • 39d4c3a run fmt
  • 7aacc8f pass global logger by value, supplied logger by ref
  • a438c6e Merge pull request #664 from tisonkun/logger-field
  • Additional commits viewable in compare view

Updates env_logger from 0.11.6 to 0.11.8

Release notes

Sourced from env_logger's releases.

v0.11.8

[0.11.8] - 2025-04-01

Compatibility

  • (kv) Deprecate the unstable-kv feature which may be removed in a future patch release

Features

  • (kv) Stabilize key-value support behind the kv feature
  • Expose ConfigurableFormat to build custom [Builder::format]s that leverage this

v0.11.7

[0.11.7] - 2025-03-10

Internal

  • Replaced humantime with jiff
Changelog

Sourced from env_logger's changelog.

[0.11.8] - 2025-04-01

Compatibility

  • (kv) Deprecate the unstable-kv feature which may be removed in a future patch release

Features

  • (kv) Stabilize key-value support behind the kv feature
  • Expose ConfigurableFormat to build custom [Builder::format]s that leverage this

[0.11.7] - 2025-03-10

Internal

  • Replaced humantime with jiff
Commits
  • f0443b2 chore: Release
  • d8b5e1e docs: Update changelog
  • 3ca671f Merge pull request #360 from epage/format
  • bc02d61 feat(fmt): Expose ConfigurableFormat
  • c567fde refactor(fmt): Pull out format logic
  • ce25c73 refactor(fmt): Make DefaultFormats name more specific
  • 739ebb1 refactor(fmt): Pull out logger's builder methods
  • 3acb571 refactor(fmt): Delegate formatting to DefaultFormat
  • e351bcb refactor(fmt): Reduce duplication in DefaultFormatWriter
  • 3c9e6ff Merge pull request #359 from epage/kv
  • Additional commits viewable in compare view

Updates serde_json from 1.0.139 to 1.0.143

Release notes

Sourced from serde_json's releases.

v1.0.143

v1.0.142

v1.0.141

v1.0.140

  • Documentation improvements
Commits
  • 10102c4 Release 1.0.143
  • 2a5b853 Replace super::super with absolute path within crate
  • 447170b Merge pull request 1271 from mickvangelderen/mick/impl-from-str-for-map
  • ec190d6 Merge pull request #1264 from xlambein/master
  • 8be6647 Merge pull request #1268 from SOF3/compact-default
  • ba5b3cc Revert "Pin nightly toolchain used for miri job"
  • 1731167 Release 1.0.142
  • e51c814 Touch up PR 1265
  • 84abbdb Merge pull request #1265 from aatifsyed/master
  • 6843c36 Release 1.0.141
  • Additional commits viewable in compare view

Updates libc from 0.2.170 to 0.2.175

Release notes

Sourced from libc's releases.

0.2.175

Added

  • AIX: Add getpeereid (#4524)
  • AIX: Add struct ld_info and friends (#4578)
  • AIX: Retore struct winsize (#4577)
  • Android: Add UDP socket option constants (#4619)
  • Android: Add CLONE_CLEAR_SIGHAND and CLONE_INTO_CGROUP (#4502)
  • Android: Add more prctl constants (#4531)
  • FreeBSD Add further TCP stack-related constants (#4196)
  • FreeBSD x86-64: Add mcontext_t.mc_tlsbase (#4503)
  • FreeBSD15: Add kinfo_proc.ki_uerrmsg (#4552)
  • FreeBSD: Add in_conninfo (#4482)
  • FreeBSD: Add xinpgen and related types (#4482)
  • FreeBSD: Add xktls_session (#4482)
  • Haiku: Add functionality from libbsd (#4221)
  • Linux: Add SECBIT_* (#4480)
  • NetBSD, OpenBSD: Export ioctl request generator macros (#4460)
  • NetBSD: Add ptsname_r (#4608)
  • RISCV32: Add time-related syscalls (#4612)
  • Solarish: Add strftime* (#4453)
  • linux: Add EXEC_RESTRICT_* and EXEC_DENY_* (#4545)

Changed

  • AIX: Add const to signatures to be consistent with other platforms (#4563)

Fixed

  • AIX: Fix the type of struct statvfs.f_fsid (#4576)
  • AIX: Fix the type of constants for the ioctl request argument (#4582)
  • AIX: Fix the types of stat{,64}.st_*tim (#4597)
  • AIX: Use unique errno values (#4507)
  • Build: Fix an incorrect target_os -> target_arch check (#4550)
  • FreeBSD: Fix the type of xktls_session_onedir.ifnet (#4552)
  • Mips64 musl: Fix the type of nlink_t (#4509)
  • Mips64 musl: Use a special MIPS definition of stack_t (#4528)
  • Mips64: Fix SI_TIMER, SI_MESGQ and SI_ASYNCIO definitions (#4529)
  • Musl Mips64: Swap the order of si_errno and si_code in siginfo_t (#4530)
  • Musl Mips64: Use a special MIPS definition of statfs (#4527)
  • Musl: Fix the definition of fanotify_event_metadata (#4510)
  • NetBSD: Correct enum fae_action to be #[repr(C)] (#60a8cfd5)
  • PSP: Correct char -> c_char (eaab4fc3)
  • PowerPC musl: Fix termios definitions (#4518)
  • PowerPC musl: Fix the definition of EDEADLK (#4517)
  • PowerPC musl: Fix the definition of NCCS (#4513)
  • PowerPC musl: Fix the definitions of MAP_LOCKED and MAP_NORESERVE (#4516)
  • PowerPC64 musl: Fix the definition of shmid_ds (#4519)

Deprecated

... (truncated)

Changelog

Sourced from libc's changelog.

0.2.175 - 2025-08-10

Added

  • AIX: Add getpeereid (#4524)
  • AIX: Add struct ld_info and friends (#4578)
  • AIX: Retore struct winsize (#4577)
  • Android: Add UDP socket option constants (#4619)
  • Android: Add CLONE_CLEAR_SIGHAND and CLONE_INTO_CGROUP (#4502)
  • Android: Add more prctl constants (#4531)
  • FreeBSD Add further TCP stack-related constants (#4196)
  • FreeBSD x86-64: Add mcontext_t.mc_tlsbase (#4503)
  • FreeBSD15: Add kinfo_proc.ki_uerrmsg (#4552)
  • FreeBSD: Add in_conninfo (#4482)
  • FreeBSD: Add xinpgen and related types (#4482)
  • FreeBSD: Add xktls_session (#4482)
  • Haiku: Add functionality from libbsd (#4221)
  • Linux: Add SECBIT_* (#4480)
  • NetBSD, OpenBSD: Export ioctl request generator macros (#4460)
  • NetBSD: Add ptsname_r (#4608)
  • RISCV32: Add time-related syscalls (#4612)
  • Solarish: Add strftime* (#4453)
  • linux: Add EXEC_RESTRICT_* and EXEC_DENY_* (#4545)

Changed

  • AIX: Add const to signatures to be consistent with other platforms (#4563)

Fixed

  • AIX: Fix the type of struct statvfs.f_fsid (#4576)
  • AIX: Fix the type of constants for the ioctl request argument (#4582)
  • AIX: Fix the types of stat{,64}.st_*tim (#4597)
  • AIX: Use unique errno values (#4507)
  • Build: Fix an incorrect target_os -> target_arch check (#4550)
  • FreeBSD: Fix the type of xktls_session_onedir.ifnet (#4552)
  • Mips64 musl: Fix the type of nlink_t (#4509)
  • Mips64 musl: Use a special MIPS definition of stack_t (#4528)
  • Mips64: Fix SI_TIMER, SI_MESGQ and SI_ASYNCIO definitions (#4529)
  • Musl Mips64: Swap the order of si_errno and si_code in siginfo_t (#4530)
  • Musl Mips64: Use a special MIPS definition of statfs (#4527)
  • Musl: Fix the definition of fanotify_event_metadata (#4510)
  • NetBSD: Correct enum fae_action to be #[repr(C)] (#60a8cfd5)
  • PSP: Correct char -> c_char (eaab4fc3)
  • PowerPC musl: Fix termios definitions (#4518)
  • PowerPC musl: Fix the definition of EDEADLK (#4517)
  • PowerPC musl: Fix the definition of NCCS (#4513)
  • PowerPC musl: Fix the definitions of MAP_LOCKED and MAP_NORESERVE (#4516)
  • PowerPC64 musl: Fix the definition of shmid_ds (#4519)

... (truncated)

Commits
  • 84e26e6 Update the lockfile
  • 4d04aee chore: release libc 0.2.175
  • 94a7f32 cleanup: Format a file that was missed
  • 1725273 Rename the ctest file from main to ctest
  • e9b021b freebsd adding further TCP stack related constants.
  • 9606a29 freebsd15: Add ki_uerrmsg to struct kinfo_proc
  • 2816bc2 libc-test: include sys/ktls.h on freebsd
  • adfe283 libc-test: Account for xktls_session_onedir::gen (freebsd)
  • 4cc1bf4 freebsd: Document avoidance of reserved name gen
  • 7cdcaa6 freebsd: Fix type of struct xktls_session_onedir, field ifnet
  • Additional commits viewable in compare view

Updates is_executable from 1.0.4 to 1.0.5

Commits

Updates rust-embed from 8.5.0 to 8.7.2

Updates which from 7.0.2 to 8.0.0

Release notes

Sourced from which's releases.

8.0.0

What's Changed

  • Add new Sys trait to allow abstracting over the underlying filesystem. Particularly useful for wasm32-unknown-unknown targets. Thanks @โ€‹dsherret for this contribution to which!
  • Add more debug level tracing for otherwise silent I/O errors.
  • Call the NonFatalHandler in more places to catch previously ignored I/O errors.
  • Remove use of the either dependency.

New Contributors

7.0.3

  • Update rustix to version 1.0. Congrats to rustix on this milestone, and thanks @โ€‹mhils for this contribution to which!
Changelog

Sourced from which's changelog.

8.0.0

  • Add new Sys trait to allow abstracting over the underlying filesystem. Particularly useful for wasm32-unknown-unknown targets. Thanks @โ€‹dsherret for this contribution to which!
  • Add more debug level tracing for otherwise silent I/O errors.
  • Call the NonFatalHandler in more places to catch previously ignored I/O errors.
  • Remove use of the either dependency.

7.0.3

  • Update rustix to version 1.0. Congrats to rustix on this milestone, and thanks @โ€‹mhils for this contribution to which!
Commits
  • adac2cd bump version, update changelog
  • 84e152e reduce sys::Sys requirements, add some tracing for otherwise silent errors (#...
  • a0a6daf feat: add Sys trait for swapping out system (#109)
  • eef1998 Add actively maintained badge
  • 1d145de release version 7.0.3
  • f5e5292 fix unrelated lint error
  • 4dcefa6 bump rustix
  • See full diff in compare view

Updates getopts from 0.2.21 to 0.2.23

Release notes

Sourced from getopts's releases.

v0.2.23

Other

  • Add caching
  • Remove redundant configuration from Cargo.toml
  • Bump unicode-width to 0.2.0
  • Update the MSRV to 1.66 and edition to 2021

v0.2.22

Other

  • Add a check for formatting, apply cargo fmt
  • Add a release job
  • Document and start testing the MSRV
  • Test on more platforms, deny warnings
  • Eliminate html_root_url
  • Update version number in html_root_url
  • Use SPDX license format
  • Fix compiler warning in documentation example
  • Merge pull request #100 from zdenek-crha/parse_args_end_position
  • Merge pull request #103 from zdenek-crha/better_usage_examples
  • Add usage examples for methods that add option config
  • Update outdated top level documentation
  • Add triagebot configuration
  • remove deprecated Error::description
  • Update documentation of opt_present() and other functions that might panic
  • Updated tests for opts_str() and opts_str_first() to check order of processing
  • Add opts_present_any() and opts_str_first() interface functions
  • Parse options without names vector
Changelog

Sourced from getopts's changelog.

0.2.23 - 2025-06-09

Other

  • Add caching
  • Remove redundant configuration from Cargo.toml
  • Bump unicode-width to 0.2.0
  • Update the MSRV to 1.66 and edition to 2021

0.2.22 - 2025-06-05

Other

  • Add a check for formatting, apply cargo fmt
  • Add a release job
  • Document and start testing the MSRV
  • Test on more platforms, deny warnings
  • Eliminate html_root_url
  • Update version number in html_root_url
  • Use SPDX license format
  • Fix compiler warning in documentation example
  • Merge pull request #100 from zdenek-crha/parse_args_end_position
  • Merge pull request #103 from zdenek-crha/better_usage_examples
  • Add usage examples for methods that add option config
  • Update outdated top level documentation
  • Add triagebot configuration
  • remove deprecated Error::description
  • Update documentation of opt_present() and other functions that might panic
  • Updated tests for opts_str() and opts_str_first() to check order of processing
  • Add opts_present_any() and opts_str_first() interface functions
  • Parse options without names vector
Commits
  • 57b183a chore: release v0.2.23
  • 5ba47f9 ci: Add caching
  • 3b5adcd Remove redundant configuration from Cargo.toml
  • 2f7a9c4 Bump unicode-width to 0.2.0
  • a61cffb Update the MSRV to 1.66 and edition to 2021
  • 3caf9d0 chore: release v0.2.22
  • 2ab5da1 ci: Add a check for formatting, apply cargo fmt
  • d83ae23 ci: Add a release job
  • e289e35 Document and start testing the MSRV
  • 4f6d84e ci: Test on more platforms, deny warnings
  • Additional commits viewable in compare view

Updates sha256 from 1.5.0 to 1.6.0

Release notes

Sourced from sha256's releases.

v1.6.0

What's Changed

New Contributors

Full Changelog: https://github.com/baoyachi/sha256-rs/compare/1.5.0...v1.6.0

Commits

Updates tempfile from 3.17.1 to 3.21.0

Changelog

Sourced from tempfile's changelog.

3.21.0

  • Updated windows-sys requirement to allow version 0.60.x

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:

3.19.1

  • Don't unlink temporary files immediately on Windows (fixes #339). Unfortunately, this seemed to corrupt the file object (possibly a Windows kernel bug) in rare cases and isn't strictly speaking necessary.

3.19.0

  • Remove direct dependency on cfg-if. It's still in the tree, but we didn't really need to use it in this crate.
  • Add an unstable feature (unstable-windows-keep-open-tempfile) to test a potential fix to #339.

3.18.0

  • Update rustix to 1.0.0.
  • Make NamedTempFile::persist_noclobber atomic on Apple operating systems. It's now atomic on MacOS, Windows, and Linux (depending on the OS version and filesystem used).
Commits
Pull Request Statistics
Commits:
0
Files Changed:
0
Additions:
+0
Deletions:
-0
Package Dependencies
Ecosystem:
cargo
Version Change:
4.5.30 โ†’ 4.5.46
Update Type:
Patch
Package:
anstyle
Ecosystem:
cargo
Version Change:
1.0.10 โ†’ 1.0.11
Update Type:
Patch
Ecosystem:
cargo
Version Change:
3.0.7 โ†’ 3.0.10
Update Type:
Patch
Ecosystem:
cargo
Version Change:
0.2.6 โ†’ 0.2.7
Update Type:
Patch
Package:
anstream
Ecosystem:
cargo
Version Change:
0.6.18 โ†’ 0.6.20
Update Type:
Patch
Package:
tokio
Ecosystem:
cargo
Version Change:
1.43.0 โ†’ 1.47.1
Update Type:
Minor
Ecosystem:
cargo
Version Change:
1.1.2 โ†’ 1.1.4
Update Type:
Patch
Package:
colorchoice
Ecosystem:
cargo
Version Change:
1.0.3 โ†’ 1.0.4
Update Type:
Patch
Ecosystem:
cargo
Version Change:
0.5.14 โ†’ 0.5.15
Update Type:
Patch
Package:
bumpalo
Ecosystem:
cargo
Version Change:
3.17.0 โ†’ 3.19.0
Update Type:
Minor
Package:
which
Ecosystem:
cargo
Version Change:
7.0.2 โ†’ 8.0.0
Update Type:
Major
Package:
tempfile
Ecosystem:
cargo
Version Change:
3.17.1 โ†’ 3.21.0
Update Type:
Minor
Package:
cc
Ecosystem:
cargo
Version Change:
1.2.15 โ†’ 1.2.34
Update Type:
Patch
Package:
env_logger
Ecosystem:
cargo
Version Change:
0.11.6 โ†’ 0.11.8
Update Type:
Patch
Package:
zip
Ecosystem:
cargo
Version Change:
2.2.2 โ†’ 4.5.0
Update Type:
Major
Package:
anyhow
Ecosystem:
cargo
Version Change:
1.0.96 โ†’ 1.0.99
Update Type:
Patch
Package:
flate2
Ecosystem:
cargo
Version Change:
1.0.35 โ†’ 1.1.2
Update Type:
Minor
Package:
backtrace
Ecosystem:
cargo
Version Change:
0.3.74 โ†’ 0.3.75
Update Type:
Patch
Package:
chrono
Ecosystem:
cargo
Version Change:
0.4.39 โ†’ 0.4.41
Update Type:
Patch
Package:
rustversion
Ecosystem:
cargo
Version Change:
1.0.19 โ†’ 1.0.22
Update Type:
Patch
Package:
sha2
Ecosystem:
cargo
Version Change:
0.10.8 โ†’ 0.10.9
Update Type:
Patch
Package:
log
Ecosystem:
cargo
Version Change:
0.4.26 โ†’ 0.4.27
Update Type:
Patch
Package:
serde
Ecosystem:
cargo
Version Change:
1.0.218 โ†’ 1.0.219
Update Type:
Patch
Package:
serde_json
Ecosystem:
cargo
Version Change:
1.0.139 โ†’ 1.0.143
Update Type:
Patch
Package:
libc
Ecosystem:
cargo
Version Change:
0.2.170 โ†’ 0.2.175
Update Type:
Patch
Package:
sha256
Ecosystem:
cargo
Version Change:
1.5.0 โ†’ 1.6.0
Update Type:
Minor
Ecosystem:
cargo
Version Change:
0.14.1 โ†’ 0.15.1
Update Type:
Minor
Package:
async-trait
Ecosystem:
cargo
Version Change:
0.1.86 โ†’ 0.1.89
Update Type:
Patch
Package:
bytes
Ecosystem:
cargo
Version Change:
1.10.0 โ†’ 1.10.1
Update Type:
Patch
Package:
crc
Ecosystem:
cargo
Version Change:
3.2.1 โ†’ 3.3.0
Update Type:
Minor
Package:
either
Ecosystem:
cargo
Version Change:
1.14.0 โ†’ 1.15.0
Update Type:
Minor
Ecosystem:
cargo
Version Change:
0.1.61 โ†’ 0.1.63
Update Type:
Patch
Package:
indexmap
Ecosystem:
cargo
Version Change:
2.7.1 โ†’ 2.11.0
Update Type:
Minor
Package:
itoa
Ecosystem:
cargo
Version Change:
1.0.14 โ†’ 1.0.15
Update Type:
Patch
Package:
libm
Ecosystem:
cargo
Version Change:
0.2.11 โ†’ 0.2.15
Update Type:
Patch
Package:
miniz_oxide
Ecosystem:
cargo
Version Change:
0.8.5 โ†’ 0.8.9
Update Type:
Patch
Package:
once_cell
Ecosystem:
cargo
Version Change:
1.20.3 โ†’ 1.21.3
Update Type:
Minor
Package:
ryu
Ecosystem:
cargo
Version Change:
1.0.19 โ†’ 1.0.20
Update Type:
Patch
Package:
time
Ecosystem:
cargo
Version Change:
0.3.37 โ†’ 0.3.41
Update Type:
Patch
Ecosystem:
cargo
Version Change:
1.0.17 โ†’ 1.0.18
Update Type:
Patch
Package:
zopfli
Ecosystem:
cargo
Version Change:
0.8.1 โ†’ 0.8.2
Update Type:
Patch
Package:
ahash
Ecosystem:
cargo
Version Change:
0.8.11 โ†’ 0.8.12
Update Type:
Patch
Package:
getrandom
Ecosystem:
cargo
Version Change:
0.3.1 โ†’ 0.3.3
Update Type:
Patch
Package:
rust-embed
Ecosystem:
cargo
Version Change:
8.5.0 โ†’ 8.7.2
Update Type:
Minor
Package:
fs4
Ecosystem:
cargo
Version Change:
0.13.0 โ†’ 0.13.1
Update Type:
Patch
Package:
rayon
Ecosystem:
cargo
Version Change:
1.10.0 โ†’ 1.11.0
Update Type:
Minor
Package:
memchr
Ecosystem:
cargo
Version Change:
2.7.4 โ†’ 2.7.5
Update Type:
Patch
Package:
arbitrary
Ecosystem:
cargo
Version Change:
1.4.1 โ†’ 1.4.2
Update Type:
Patch
Package:
getopts
Ecosystem:
cargo
Version Change:
0.2.21 โ†’ 0.2.23
Update Type:
Patch
Package:
clap_lex
Ecosystem:
cargo
Version Change:
0.7.4 โ†’ 0.7.5
Update Type:
Patch
Package:
adler2
Ecosystem:
cargo
Version Change:
2.0.0 โ†’ 2.0.1
Update Type:
Patch
Ecosystem:
cargo
Version Change:
0.1.24 โ†’ 0.1.26
Update Type:
Patch
Package:
autocfg
Ecosystem:
cargo
Version Change:
1.4.0 โ†’ 1.5.0
Update Type:
Minor
Package:
crc32fast
Ecosystem:
cargo
Version Change:
1.4.2 โ†’ 1.5.0
Update Type:
Minor
Ecosystem:
cargo
Version Change:
1.4.1 โ†’ 1.4.2
Update Type:
Patch
Package:
winapi-util
Ecosystem:
cargo
Version Change:
0.1.9 โ†’ 0.1.10
Update Type:
Patch
Ecosystem:
cargo
Version Change:
1.0.4 โ†’ 1.0.5
Update Type:
Patch
Package:
regex-lite
Ecosystem:
cargo
Version Change:
0.1.6 โ†’ 0.1.7
Update Type:
Patch
Ecosystem:
cargo
Version Change:
0.3.0 โ†’ 0.3.1
Update Type:
Patch
Technical Details
ID: 6397687
UUID: 3364059964
Node ID: PR_kwDOPTkn6s6l2Iof
Host: GitHub
Repository: xhgg606/https-github.com-Winkmoon-KernelSU