Skip to content

Bump the cargo group with 21 updates #1949

New issue

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

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

Already on GitHub? # to your account

Merged
merged 5 commits into from
Apr 11, 2025
Merged

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Apr 11, 2025

Bumps the cargo group with 21 updates:

Package From To
clap 4.5.32 4.5.35
clap_complete 4.5.46 4.5.47
env_logger 0.10.2 0.11.8
terminal_size 0.3.0 0.4.2
once_cell 1.21.1 1.21.3
bstr 1.11.3 1.12.0
winnow 0.7.4 0.7.6
faster-hex 0.9.0 0.10.0
smallvec 1.14.0 1.15.0
tempfile 3.19.0 3.19.1
bytesize 1.3.2 2.0.1
flate2 1.1.0 1.1.1
jiff 0.2.4 0.2.6
rustix 0.38.44 1.0.3
windows-sys 0.52.0 0.59.0
windows 0.58.0 0.61.1
winreg 0.52.0 0.55.0
fs-err 2.11.0 3.1.0
rusqlite 0.32.1 0.34.0
sysinfo 0.31.4 0.34.2
zip 2.4.2 2.6.1

Updates clap from 4.5.32 to 4.5.35

Release notes

Sourced from clap's releases.

v4.5.35

[4.5.35] - 2025-04-01

Fixes

  • (help) Align positionals and flags when put in the same help_heading
  • (help) Don't leave space for shorts if there are none

v4.5.34

[4.5.34] - 2025-03-27

Fixes

  • (help) Don't add extra blank lines with flatten_help(true) and subcommands without arguments

v4.5.33

[4.5.33] - 2025-03-26

Fixes

  • (error) When showing the usage of a suggestion for an unknown argument, don't show the group
Changelog

Sourced from clap's changelog.

[4.5.35] - 2025-04-01

Fixes

  • (help) Align positionals and flags when put in the same help_heading
  • (help) Don't leave space for shorts if there are none

[4.5.34] - 2025-03-27

Fixes

  • (help) Don't add extra blank lines with flatten_help(true) and subcommands without arguments

[4.5.33] - 2025-03-26

Fixes

  • (error) When showing the usage of a suggestion for an unknown argument, don't show the group
Commits
  • 55a18f5 chore: Release
  • 3b05635 fix(complete): Ensure new enough clap is used
  • 5d2cdac chore: Release
  • f1c10eb docs: Update changelog
  • a4d1a7f chore(ci): Take a break from template updates
  • e95ed39 Merge pull request #5775 from vivienm/master
  • 18f8d4c chore(deps): Update Rust Stable to v1.82 (#5788)
  • f35d8e0 Merge pull request #5787 from epage/template
  • 1389d7d chore: Update from '_rust/main' template
  • dbc9faa chore(ci): Initialize git for template update
  • Additional commits viewable in compare view

Updates clap_complete from 4.5.46 to 4.5.47

Commits
  • f046ca6 chore: Release
  • 436949d docs: Update changelog
  • 1ddab84 Merge pull request #5954 from epage/tests
  • 8a66dbf test(complete): Add more native cases
  • 76465cf test(complete): Make things more consistent
  • 232cedb test(complete): Remove redundant index
  • 02244a6 Merge pull request #5949 from krobelus/option-name-completions-after-positionals
  • 2e13847 fix(complete): Missing options in multi-val arg
  • 74388d7 test(complete): Multi-valued, unbounded positional
  • 5b3d45f refactor(complete): Extract function for options
  • Additional commits viewable in compare view

Updates env_logger from 0.10.2 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

v0.11.6

[0.11.6] - 2024-12-20

Features

  • Opt-in file and line rendering

v0.11.5

[0.11.5] - 2024-07-25

v0.11.4

[0.11.4] - 2024-07-23

v0.11.3

[0.11.3] - 2024-03-05

Features

  • Experimental support for key-value logging behind unstable-kv

v0.11.2

[0.11.2] - 2024-02-13

v0.11.1

What's Changed

New Contributors

Full Changelog: rust-cli/env_logger@v0.11.0...v0.11.1

... (truncated)

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

[0.11.6] - 2024-12-20

Features

  • Opt-in file and line rendering

[0.11.5] - 2024-07-25

[0.11.4] - 2024-07-23

[0.11.3] - 2024-03-05

Features

  • Experimental support for key-value logging behind unstable-kv

[0.11.2] - 2024-02-13

[0.11.1] - 2024-01-27

Fixes

  • Allow styling with Target::Pipe

[0.11.0] - 2024-01-19

Migration Guide

env_logger::fmt::Style: The bespoke styling API, behind color, was removed, in favor of accepting any ANSI styled string and adapting it to the target stream's capabilities.

Possible styling libraries include:

... (truncated)

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 terminal_size from 0.3.0 to 0.4.2

Release notes

Sourced from terminal_size's releases.

v0.4.2

What's Changed

v0.4.1

What's Changed

New Contributors

Full Changelog: eminence/terminal-size@v0.4.0...v0.4.1

v0.4.0

Breaking changes

The big change in this release is the API change in #66:

  • If you were using the terminal_size_using_fd or terminal_size_using_handle functions, these are now deprecated and unsafe. Instead you should use the terminal_size_of function, which does the same thing but is safer.

What's Changed

New Contributors

Full Changelog: eminence/terminal-size@v0.3.0...v0.4.0

Commits
  • 050f97b Version 0.4.2
  • 6032d77 Merge pull request #69 from morr0ne/rustix-1.0
  • 1bcd63d Update rustix to 1.0
  • 6cb0bf9 Merge pull request #68 from cptpiepmatz/master
  • b79643a pull rustix only for unix
  • f6b81b5 Bump to version 0.4.0
  • 5cbc616 Merge pull request #64 from waywardmonkeys/update-ci
  • 68ceb8d Merge pull request #63 from waywardmonkeys/fix-typo
  • 5307747 Merge pull request #66 from sunfishcode/main
  • a29b904 Mark terminal_size_using_handle as unsafe too.
  • Additional commits viewable in compare view

Updates once_cell from 1.21.1 to 1.21.3

Changelog

Sourced from once_cell's changelog.

1.21.3

  • Outline more initialization in race: #284, #285.

1.21.2

  • Relax success ordering from AcqRel to Release in race: #278.
Commits
  • 29e3d93 Merge pull request #286 from briansmith/b/once-ref-dry
  • a206950 Prepare for 1.21.3 release.
  • 17d4a9b DRY race::OnceRef::{get_or_try_init, set}.
  • 01b1d56 Merge pull request #285 from briansmith/b/once-ref-cold
  • a851cc4 Mark initialization of OnceRef::get_or_try_init cold.
  • 2447a93 Merge pull request #281 from briansmith/b/init-inner
  • c294d64 Merge pull request #280 from briansmith/b/self
  • 5f0fdd4 Merge pull request #283 from briansmith/b/cast_mut
  • 899e319 Merge pull request #284 from briansmith/b/dry-get
  • 90da60b Mark initialization of OnceBox::get_or_try_init cold.
  • Additional commits viewable in compare view

Updates bstr from 1.11.3 to 1.12.0

Commits

Updates winnow from 0.7.4 to 0.7.6

Changelog

Sourced from winnow's changelog.

[0.7.6] - 2025-04-07

Features

  • Add TokenSlice::previous_tokens

[0.7.5] - 2025-04-07

Features

  • Add Stream::next_slice_unchecked and Stream::peek_slice_unchecked
Commits

Updates faster-hex from 0.9.0 to 0.10.0

Commits

Updates smallvec from 1.14.0 to 1.15.0

Release notes

Sourced from smallvec's releases.

v1.15.0

What's Changed

New Contributors

Full Changelog: servo/rust-smallvec@v1.14.0...v1.15.0

Commits

Updates tempfile from 3.19.0 to 3.19.1

Changelog

Sourced from tempfile's changelog.

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.
Commits

Updates bytesize from 1.3.2 to 2.0.1

Release notes

Sourced from bytesize's releases.

bytesize: v2.0.1

  • Add support for precision in Display implementations.

bytesize: v2.0.0

  • Add support for no_std targets.
  • Use IEC (binary) format by default with Display.
  • Use "kB" for SI unit.
  • Add Display type for customizing printed format.
  • Add ByteSize::display() method.
  • Implement Sub<ByteSize> for ByteSize.
  • Implement Sub<impl Into<u64>> for ByteSize.
  • Implement SubAssign<ByteSize> for ByteSize.
  • Implement SubAssign<impl Into<u64>> for ByteSize.
  • Reject parsing non-unit characters after whitespace.
  • Remove ByteSize::to_string_as() method.
  • Remove top-level to_string() method.
  • Remove top-level B constant.
Changelog

Sourced from bytesize's changelog.

2.0.1

  • Add support for precision in Display implementations.

v2.0.0

  • Add support for no_std targets.
  • Use IEC (binary) format by default with Display.
  • Use "kB" for SI unit.
  • Add Display type for customizing printed format.
  • Add ByteSize::display() method.
  • Implement Sub<ByteSize> for ByteSize.
  • Implement Sub<impl Into<u64>> for ByteSize.
  • Implement SubAssign<ByteSize> for ByteSize.
  • Implement SubAssign<impl Into<u64>> for ByteSize.
  • Reject parsing non-unit characters after whitespace.
  • Remove ByteSize::to_string_as() method.
  • Remove top-level to_string() method.
  • Remove top-level B constant.
Commits

Updates flate2 from 1.1.0 to 1.1.1

Release notes

Sourced from flate2's releases.

1.1.1

This release should be smaller and thus faster to download. Additionally, when using the zlib-rs backend, duplicate symbol issues shouldn't occur anymore.

What's Changed

New Contributors

Full Changelog: rust-lang/flate2-rs@1.1.0...1.1.1

Commits
  • 98c98c8 Merge pull request #482 from folkertdev/update-zlib-rs-0.5.0
  • 94b36b0 upgrade zlib-rs to version 0.5.0
  • a79bfe4 Merge pull request #481 from Shnatsel/backend-docs
  • 694e822 less editorializing
  • 6debe95 Merge pull request #480 from Shnatsel/zlib-rs-readme
  • a24e276 Rewrite outdated backend notes in lib.rs
  • 78ca174 More informative README on backends
  • c9a3efa Merge pull request #476 from jayvdb/rm-changelog
  • 0b2137d Remove stale CHANGELOG.md
  • 0abbd1c Merge pull request #475 from oyvindln/patch-1
  • Additional commits viewable in compare view

Updates jiff from 0.2.4 to 0.2.6

Changelog

Sourced from jiff's changelog.

0.2.6 (2025-04-07)

This release includes a few bug fixes and support for discovering the IANA Time Zone Database automatically on Illumos.

Enhancements:

  • #315: Add support for automatically finding the tzdb on Illumos.

Bug fixes:

  • #305: Fixed Zoned rounding on days with DST time zone transitions.
  • #309: Fixed bug where TimeZone::preceding could omit historical time zone transitions for time zones that have eliminated DST in the present.
  • #312: Fixed nth_weekday_in_month, where it would sometimes incorrectly return an error.

0.2.5 (2025-03-22)

This release updates Jiff's bundled copy of the [IANA Time Zone Database] to 2025b. See the 2025b release announcement for more details.

Enhancements:

  • #300: Update jiff-tzdb to 2025b.
Commits
  • 0bdb3b0 0.2.6
  • 6c1cd0e changelog: 0.2.6
  • 2bd7148 tz: add /usr/share/lib/zoneinfo
  • 7bbe21a civil: fix Date::nth_weekday_of_month
  • f41d586 shared: remove pointless as_ref
  • 9aeb3f1 changelog: add entry for #309
  • 9259f79 tz: fix retrieval of past time zone transitions for America/Sao_Paulo
  • 2b84020 zoned: fix rounding to "days" when near a time zone transition
  • a22abc7 bench: add benchmarks for constructing a timestamp type
  • ef5ee45 span: avoid cloning when rounding
  • Additional commits viewable in compare view

Updates rustix from 0.38.44 to 1.0.3

Release notes

Sourced from rustix's releases.

1.0.0

This release introduces the Buffer trait, which is used in read, pread, recv, recvfrom, getrandom, readlinkat_raw, epoll::wait, kevent, port::getn, getxattr, lgetxattr, fgetxattr, listxattr, llistxattr, and flistxattr, and adds support for reading data into uninitialized buffers, as well as safely reading data into the spare capacity of Vecs.

This release also simplifies the way network addresses are handled. Instead of having separate functions with _v4, _v6, _unix, _xdp, and now _netlink suffixes, rustix now uses a SocketAddrArg trait so that functions such as bind, connect, sendto, and sendmsg_addr can accept any type of address, and are easier to extend to new address types in the future.

And, this release simplifies the ioctl API, replacing opcode wrapper types with const generics.

This updates several APIs to add Linux 6.13 features, and raw linux-raw-sys types are no longer exposed in the public API, so it should be easier to stay up to date with new Linux releases.

And many more new features, bug fixes, and cleanups. See the CHANGES.md file for the full list of breaking changes.

Commits

Updates windows-sys from 0.52.0 to 0.59.0

Release notes

Sourced from windows-sys's releases.

0.59.0

This release includes an update to the windows-sys crate only. The windows-sys crate is updated very infrequently and only when there is an explicit need to do so. The 0.59.0 release includes a rollup of API fixes, updates, and additions since the 0.52.0 release nine months ago. Notably:

Full Changelog: microsoft/windows-rs@0.52.0...0.59.0

0.58.0

This release includes updates to metadata for new or fixed API definitions (#3111, #3136), various improvements and fixes to code generation, compliance with new Rust warnings, additional COM authoring support improvements (#3065), limited non-Windows support (#3135), and more.

It includes major updates to the following crates, mainly due to breaking changes in metadata for API definitions.

  • riddle 0.58.0
  • windows 0.58.0
  • windows-bindgen 0.58.0
  • windows-core 0.58.0
  • windows-implement 0.58.0
  • windows-interface 0.58.0
  • windows-metadata 0.58.0

It also includes major updates to the following utility crates.

  • windows-result 0.2.0
  • windows-registry 0.2.0

The windows-result crate now provides limited non-Windows support, and the windows-registry crate offers new lossless queries for binary and wide string values.

And it includes minor updates to the windows-targets crates, with the addition of several new APIs.

  • windows-targets 0.52.6

This release also includes the first published version of the windows-strings crate, moving the string types from the windows-core crate into a dedicated crate as a smaller dependency. It also offers an efficient HSTRING builder (#3133).

To clarify, the only crates that continue to support limited non-Windows builds are:

  • windows-bindgen and windows-metadata for code generation on non-Windows platforms.
  • windows-core and windows-result for COM support on non-Windows platforms.

What's Changed

... (truncated)

Commits

Updates windows from 0.58.0 to 0.61.1

Commits

Updates winreg from 0.52.0 to 0.55.0

Release notes

Sourced from winreg's releases.

0.55.0 (windows-sys)

  • Breaking change: Increate MSRV to 1.60
  • Breaking change: Upgrade windows-sys to version 0.59 (#77)

0.54.0 (windows-sys)

  • Breaking change: Migrate to the 2021 edition of Rust (MSRV 1.56)
  • Breaking change: Upgrade windows-sys to version 0.52 (closes #63, #70)

0.53.0 (windows-sys)

  • Don't stop deserialization of Any due to REG_NONE (pullrequest #67, fixes #66)
  • Implement (de)serialization of Option (#56)
  • Add RegKey methods for creating/opening subkeys with custom options (#65)
Changelog

Sourced from winreg's changelog.

0.55.0

  • Breaking change: Increate MSRV to 1.60
  • Breaking change: Upgrade windows-sys to version 0.59 (#77)

0.54.0

  • Breaking change: Migrate to the 2021 edition of Rust (MSRV 1.56)
  • Breaking change: Upgrade windows-sys to version 0.52 (closes #63, #70)

0.15.0, 0.53.0

  • Don't stop deserialization of Any due to REG_NONE (pullrequest #67, fixes #66)
  • Implement (de)serialization of Option (#56)
  • Add RegKey methods for creating/opening subkeys with custom options (#65)
Commits
  • 9243b23 Bump version to 0.55.0
  • f044074 Upgrade windows-sys to version 0.59 (and MSRV to 1.60)
  • 4574feb Bump version to 0.54.0
  • 105ca7a Upgrade windows-sys to version 0.52
  • 93aefdf Migrate to the 2021 edition of Rust
  • c9315d0 Clippy: remove unnecessary typecasts
  • e62111e Merge branch 'winapi'
  • 049035f Update the transaction example in the docs
  • 5baac5d CI: upgrade actions to the latest versions
  • cbaeb4e CI: check Cargo.toml formatting
  • Additional commits viewable in compare view

Updates fs-err from 2.11.0 to 3.1.0

Changelog

Sourced from fs-err's changelog.

3.1.0

  • Added new wrappers for create_new and options functions on File (#69)

3.0.0

  • Error messages now include the original message from std::io::Error by default (#60). Previously this was exposed through the Error::source() method. For example, previously a message would look like:

    failed to open file `file.txt`
    

    and you would have to remember to print the source, or use a library like anyhow to print the full chain of source errors. The new error message includes the cause by default

    failed to open file `file.txt`: The system cannot find the file specified. (os error 2)
    

    Note that the original error is no longer exposed though Error::source() by default. If you need access to it, you can restore the previous behaviour with the expose_original_error feature flag.

  • The io_safety feature flag has been removed, and this functionality is now always enabled on Rust versions which support it (1.63.0 and greater).

  • Removed deprecated APIs: File::from_options, tokio::symlink

Commits
  • 6155620 chore: Release fs-err version 3.1.0
  • 94406b8 Update CHANGELOG
  • 5ba87e1 Add missing File / OpenOptions constructors (#69)
  • 5cefbe6 chore: Release fs-err version 3.0.0
  • 9bf99af Replace default_features with default-features in Cargo.toml
  • 11a6460 Remove deprecated APIs (#66)
  • 27144b0 Remove io_safety feature flag (#65)
  • 1a26274 Update changelog and docs for

Bumps the cargo group with 21 updates:

| Package | From | To |
| --- | --- | --- |
| [clap](https://github.com/clap-rs/clap) | `4.5.32` | `4.5.35` |
| [clap_complete](https://github.com/clap-rs/clap) | `4.5.46` | `4.5.47` |
| [env_logger](https://github.com/rust-cli/env_logger) | `0.10.2` | `0.11.8` |
| [terminal_size](https://github.com/eminence/terminal-size) | `0.3.0` | `0.4.2` |
| [once_cell](https://github.com/matklad/once_cell) | `1.21.1` | `1.21.3` |
| [bstr](https://github.com/BurntSushi/bstr) | `1.11.3` | `1.12.0` |
| [winnow](https://github.com/winnow-rs/winnow) | `0.7.4` | `0.7.6` |
| [faster-hex](https://github.com/NervosFoundation/faster-hex) | `0.9.0` | `0.10.0` |
| [smallvec](https://github.com/servo/rust-smallvec) | `1.14.0` | `1.15.0` |
| [tempfile](https://github.com/Stebalien/tempfile) | `3.19.0` | `3.19.1` |
| [bytesize](https://github.com/bytesize-rs/bytesize) | `1.3.2` | `2.0.1` |
| [flate2](https://github.com/rust-lang/flate2-rs) | `1.1.0` | `1.1.1` |
| [jiff](https://github.com/BurntSushi/jiff) | `0.2.4` | `0.2.6` |
| [rustix](https://github.com/bytecodealliance/rustix) | `0.38.44` | `1.0.3` |
| [windows-sys](https://github.com/microsoft/windows-rs) | `0.52.0` | `0.59.0` |
| [windows](https://github.com/microsoft/windows-rs) | `0.58.0` | `0.61.1` |
| [winreg](https://github.com/gentoo90/winreg-rs) | `0.52.0` | `0.55.0` |
| [fs-err](https://github.com/andrewhickman/fs-err) | `2.11.0` | `3.1.0` |
| [rusqlite](https://github.com/rusqlite/rusqlite) | `0.32.1` | `0.34.0` |
| [sysinfo](https://github.com/GuillaumeGomez/sysinfo) | `0.31.4` | `0.34.2` |
| [zip](https://github.com/zip-rs/zip2) | `2.4.2` | `2.6.1` |


Updates `clap` from 4.5.32 to 4.5.35
- [Release notes](https://github.com/clap-rs/clap/releases)
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md)
- [Commits](clap-rs/clap@clap_complete-v4.5.32...clap_complete-v4.5.35)

Updates `clap_complete` from 4.5.46 to 4.5.47
- [Release notes](https://github.com/clap-rs/clap/releases)
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md)
- [Commits](clap-rs/clap@clap_complete-v4.5.46...clap_complete-v4.5.47)

Updates `env_logger` from 0.10.2 to 0.11.8
- [Release notes](https://github.com/rust-cli/env_logger/releases)
- [Changelog](https://github.com/rust-cli/env_logger/blob/main/CHANGELOG.md)
- [Commits](rust-cli/env_logger@v0.10.2...v0.11.8)

Updates `terminal_size` from 0.3.0 to 0.4.2
- [Release notes](https://github.com/eminence/terminal-size/releases)
- [Commits](eminence/terminal-size@v0.3.0...v0.4.2)

Updates `once_cell` from 1.21.1 to 1.21.3
- [Changelog](https://github.com/matklad/once_cell/blob/master/CHANGELOG.md)
- [Commits](matklad/once_cell@v1.21.1...v1.21.3)

Updates `bstr` from 1.11.3 to 1.12.0
- [Commits](BurntSushi/bstr@1.11.3...1.12.0)

Updates `winnow` from 0.7.4 to 0.7.6
- [Changelog](https://github.com/winnow-rs/winnow/blob/main/CHANGELOG.md)
- [Commits](winnow-rs/winnow@v0.7.4...v0.7.6)

Updates `faster-hex` from 0.9.0 to 0.10.0
- [Changelog](https://github.com/nervosnetwork/faster-hex/blob/master/CHANGELOG.md)
- [Commits](https://github.com/NervosFoundation/faster-hex/commits)

Updates `smallvec` from 1.14.0 to 1.15.0
- [Release notes](https://github.com/servo/rust-smallvec/releases)
- [Commits](servo/rust-smallvec@v1.14.0...v1.15.0)

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

Updates `bytesize` from 1.3.2 to 2.0.1
- [Release notes](https://github.com/bytesize-rs/bytesize/releases)
- [Changelog](https://github.com/bytesize-rs/bytesize/blob/master/CHANGELOG.md)
- [Commits](bytesize-rs/bytesize@v1.3.2...bytesize-v2.0.1)

Updates `flate2` from 1.1.0 to 1.1.1
- [Release notes](https://github.com/rust-lang/flate2-rs/releases)
- [Commits](rust-lang/flate2-rs@1.1.0...1.1.1)

Updates `jiff` from 0.2.4 to 0.2.6
- [Release notes](https://github.com/BurntSushi/jiff/releases)
- [Changelog](https://github.com/BurntSushi/jiff/blob/master/CHANGELOG.md)
- [Commits](BurntSushi/jiff@jiff-static-0.2.4...jiff-static-0.2.6)

Updates `rustix` from 0.38.44 to 1.0.3
- [Release notes](https://github.com/bytecodealliance/rustix/releases)
- [Changelog](https://github.com/bytecodealliance/rustix/blob/main/CHANGES.md)
- [Commits](bytecodealliance/rustix@v0.38.44...v1.0.3)

Updates `windows-sys` from 0.52.0 to 0.59.0
- [Release notes](https://github.com/microsoft/windows-rs/releases)
- [Commits](microsoft/windows-rs@0.52.0...0.59.0)

Updates `windows` from 0.58.0 to 0.61.1
- [Release notes](https://github.com/microsoft/windows-rs/releases)
- [Commits](https://github.com/microsoft/windows-rs/commits)

Updates `winreg` from 0.52.0 to 0.55.0
- [Release notes](https://github.com/gentoo90/winreg-rs/releases)
- [Changelog](https://github.com/gentoo90/winreg-rs/blob/master/CHANGELOG.md)
- [Commits](gentoo90/winreg-rs@v0.52.0...v0.55.0)

Updates `fs-err` from 2.11.0 to 3.1.0
- [Changelog](https://github.com/andrewhickman/fs-err/blob/main/CHANGELOG.md)
- [Commits](andrewhickman/fs-err@2.11.0...3.1.0)

Updates `rusqlite` from 0.32.1 to 0.34.0
- [Release notes](https://github.com/rusqlite/rusqlite/releases)
- [Changelog](https://github.com/rusqlite/rusqlite/blob/master/Changelog.md)
- [Commits](rusqlite/rusqlite@v0.32.1...v0.34.0)

Updates `sysinfo` from 0.31.4 to 0.34.2
- [Changelog](https://github.com/GuillaumeGomez/sysinfo/blob/master/CHANGELOG.md)
- [Commits](https://github.com/GuillaumeGomez/sysinfo/commits)

Updates `zip` from 2.4.2 to 2.6.1
- [Release notes](https://github.com/zip-rs/zip2/releases)
- [Changelog](https://github.com/zip-rs/zip2/blob/master/CHANGELOG.md)
- [Commits](zip-rs/zip2@v2.4.2...v2.6.1)

---
updated-dependencies:
- dependency-name: clap
  dependency-version: 4.5.35
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: cargo
- dependency-name: clap_complete
  dependency-version: 4.5.47
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: cargo
- dependency-name: env_logger
  dependency-version: 0.11.8
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: cargo
- dependency-name: terminal_size
  dependency-version: 0.4.2
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: cargo
- dependency-name: once_cell
  dependency-version: 1.21.3
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: cargo
- dependency-name: bstr
  dependency-version: 1.12.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: cargo
- dependency-name: winnow
  dependency-version: 0.7.6
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: cargo
- dependency-name: faster-hex
  dependency-version: 0.10.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: cargo
- dependency-name: smallvec
  dependency-version: 1.15.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: cargo
- dependency-name: tempfile
  dependency-version: 3.19.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: cargo
- dependency-name: bytesize
  dependency-version: 2.0.1
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: cargo
- dependency-name: flate2
  dependency-version: 1.1.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: cargo
- dependency-name: jiff
  dependency-version: 0.2.6
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: cargo
- dependency-name: rustix
  dependency-version: 1.0.3
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: cargo
- dependency-name: windows-sys
  dependency-version: 0.59.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: cargo
- dependency-name: windows
  dependency-version: 0.61.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: cargo
- dependency-name: winreg
  dependency-version: 0.55.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: cargo
- dependency-name: fs-err
  dependency-version: 3.1.0
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: cargo
- dependency-name: rusqlite
  dependency-version: 0.34.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: cargo
- dependency-name: sysinfo
  dependency-version: 0.34.2
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: cargo
- dependency-name: zip
  dependency-version: 2.6.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: cargo
...

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 Apr 11, 2025
Bumping the `windows-sys` dependency of `gix-sec` from 0.52.0 to
0.59.9 broke a Windows API function call that passed a literal `0`
for a null handle, because the interface became a bit more strongly
typed. This changes the argument to `std::ptr::null_mut()`.
Bumping the `sysinfo` dependency of `gitoxide-core` from 0.31.2 to
0.34.2 broke `RefreshKind::new()` and `CpuRefreshKind::new()` calls
because `sysinfo` 0.33.0 renamed those `new()` to `nothing()`:
https://github.com/GuillaumeGomez/sysinfo/blob/master/CHANGELOG.md#0330

This renames the calls accordingly.
Bumping the `windows` dev-dependency of `gix-path` from 0.58.0 to
0.61.1 broke the use of `windows::Win32::Foundation::BOOL`, since
`BOOL` is now `windows::core::BOOL` (and also available through
the `windows_core` crate).

It is not immediately obvious from the changelog at what point the
change occurred. (A seemingly related change is described for the
newer version microsoft/windows-rs#3441.
See microsoft/windows-rs#3441 for context.)

This imports `BOOL` from `windows::core` to adjust.
`gix free pack verify --statistics` formerly used "KB" for
kilobytes (i.e., SI decimal kilobytes, units of 1000 bytes). This
was somewhat ambiguous because it is occasionally also used for
kibibytes (i.e., IEC binary kibibytes, units of 1024 bytes).

Kilobytes and kibibytes can be more precisely distinguished by
using kB for kilobytes (since "k" is the SI prefix for "kilo") and
KiB for kibibytes (since decimal kilobytes are never written KiB).

This adapts `gitoxide-core` to changes in `bytesize` and, in so
doing, allows the SI unit symbol "kB" to be used.

Fixes #1947
@EliahKagan EliahKagan marked this pull request as draft April 11, 2025 02:26
@EliahKagan
Copy link
Member

EliahKagan commented Apr 11, 2025

Aspects of this to review before it is merged:

  1. Do we want to move forward with using grouped Dependabot version updates for Rust dependencies, including updates that sometimes require changes to adapt to, and including updates to crates' Cargo.toml dependencies? (Even at a monthly cadence, I expect most updates to be smaller than this one, but those things will still happen sometimes.) As described in #1948, I think we should do this, but there is not much history of automatically updating dependencies in Cargo.toml files, so I wanted to check.
  2. Am I correct to think that the non-conventional "Adapt ..." commits here do not need to be conventional? I've asked about this in a slightly more general way in #1946.
  3. As written, this fixes #1947 in 77a3a1b. But is this something where the behavior should be changed? If so, is that the correct fix? And even if so, should it be included here? It could be deferred (or handled separately) by omitting the upgrade of bytesize from major version 1 to 2.
  4. Are the checks provided by cargo, and provided by the tests and the MSRV workflow, sufficient to ensure we don't break our MSRV by doing this. Or is that something that needs extra inspection? My understanding is that it should be okay, but I note that #1808 is still open so I figured I should ask.

@Byron
Copy link
Member

Byron commented Apr 11, 2025

Thanks for setting this up. I never wanted dependabot because of the time I'd need to properly configure it to not be noisy. But when configured, I do consider it very useful and am (probably) glad it's there.

Aspects of this to review before it is merged:

  1. Do we want to move forward with using grouped Dependabot version updates for Rust dependencies, including updates that sometimes require changes to adapt to, and including updates to crates' Cargo.toml dependencies? (Even at a monthly cadence, I expect most updates to be smaller than this one, but those things will still happen sometimes.) As described in #1948, I think we should do this, but there is not much history of automatically updating dependencies in Cargo.toml files, so I wanted to check.

Previously I tried to keep maintenance low, but with you on board and the tremendous help coming with it, I also think it should be done, and can be done.

  1. Am I correct to think that the non-conventional "Adapt ..." commits here do not need to be conventional? I've asked about this in a slightly more general way in #1946.

Yes, this is how I would do it, too.

  1. As written, this fixes #1947 in 77a3a1b. But is this something where the behavior should be changed? If so, is that the correct fix? And even if so, should it be included here? It could be deferred (or handled separately) by omitting the upgrade of bytesize from major version 1 to 2.

I'd be fine going with it, assuming it's correct if you consider it correct and an improvement over what was there. Since it's in gitoxide-core it's also not critical.

  1. Are the checks provided by cargo, and provided by the tests and the MSRV workflow, sufficient to ensure we don't break our MSRV by doing this. Or is that something that needs extra inspection? My understanding is that it should be okay, but I note that #1808 is still open so I figured I should ask.

All I know is that the MSRV check on CI is expected to catch any failure to comply. MSRV really is this kind of thing I'd rather not deal with, but it's too late for that given responsibilities towards the downstream.

@Byron Byron merged commit b5e9059 into main Apr 11, 2025
24 checks passed
@dependabot dependabot bot deleted the dependabot/cargo/cargo-6893e2988a branch April 11, 2025 06:48
EliahKagan added a commit to EliahKagan/gitoxide that referenced this pull request Apr 14, 2025
`gix-features` republishes `bytesize`, which has been bumped from
major version 1 to major version 2. Because the interface of
`bytesize` is effectively part of that of `gix-features` due to
the explicitly republication of the `bytesize` module in full with
no caveats, this is effectively a breaking change in `gix-features`
as well, though many callers may not be substantially affected.

Major changes that may affect some callers that use `bytesize`
through `gix-features` include the removal of the top-level
`bytesize::to_string()` function, the change in default behavior
from displaying decimal SI units to displaying binary IEC units
(though all or most gitoxide-related creates, in adapting to the
changes, have thus far opted to continue using decimal SI units),
and the small but UI-facing change that decimal SI kilobytes
(units of 1000 bytes) are given with the symbol "kB" rather than
the more ambiguous (and arguably less accurate) symbol "KB".

In addition to republishing `bytesize`, `gix-features` also
republishes `prodash`. Futhermore, some uses of `bytesize` are
transitively through `prodash`, which itself has recently received
an update to use `bytesize` major version 2. (Since `prodash` does
not republish `bytesize`, that is not considered to be a breaking
change in `prodash` itself.) To get the benefits of the newer
version of `bytesize` while avoiding new inconsistencies, and also
to avoid depending on multiple versions of `bytesize`, the
`prodash` dependency version has also been upgraded.

For more information, see:

- GitoxideLabs#1952
- https://github.com/bytesize-rs/bytesize/releases/tag/bytesize-v2.0.0
- GitoxideLabs#1949
- GitoxideLabs/prodash#33
- GitoxideLabs#1953
EliahKagan added a commit to EliahKagan/gitoxide that referenced this pull request Apr 14, 2025
`gix-features` republishes `bytesize`, which has been bumped from
major version 1 to major version 2. Because the interface of
`bytesize` is effectively part of that of `gix-features` due to
the explicitly republication of the `bytesize` module in full with
no caveats, this is effectively a breaking change in `gix-features`
as well, though many callers may not be substantially affected.

Major changes that may affect some callers that use `bytesize`
through `gix-features` include the removal of the top-level
`bytesize::to_string()` function, the change in default behavior
from displaying decimal SI units to displaying binary IEC units
(though all or most gitoxide-related creates, in adapting to the
changes, have thus far opted to continue using decimal SI units),
and the small but UI-facing change that decimal SI kilobytes
(units of 1000 bytes) are given with the symbol "kB" rather than
the more ambiguous (and arguably less accurate) symbol "KB".

In addition to republishing `bytesize`, `gix-features` also
republishes `prodash`. Futhermore, some uses of `bytesize` are
transitively through `prodash`, which itself has recently received
an update to use `bytesize` major version 2. (Since `prodash` does
not republish `bytesize`, that is not considered to be a breaking
change in `prodash` itself.) To get the benefits of the newer
version of `bytesize` while avoiding new inconsistencies, and also
to avoid depending on multiple versions of `bytesize`, the
`prodash` dependency version has also been upgraded.

For more information, see:

- GitoxideLabs#1952
- https://github.com/bytesize-rs/bytesize/releases/tag/bytesize-v2.0.0
- GitoxideLabs#1949
- GitoxideLabs/prodash#33
- GitoxideLabs#1953
EliahKagan added a commit to EliahKagan/gitoxide that referenced this pull request Apr 15, 2025
`gix-features` republishes `bytesize`, which has been bumped from
major version 1 to major version 2. Because the interface of
`bytesize` is effectively part of that of `gix-features` due to
the explicit republication of the `bytesize` module in full (with
no documented extra limitations related to interface stability),
this is effectively a breaking change in `gix-features` as well,
though many callers may not be substantially affected.

Major changes that may affect some callers that use `bytesize`
through `gix-features` include the removal of the top-level
`bytesize::to_string()` function, the change in default behavior
from displaying decimal SI units to displaying binary IEC units
(though all or most gitoxide-related creates, in adapting to the
changes, have thus far opted to continue using decimal SI units),
and the small but UI-facing change that decimal SI kilobytes
(units of 1000 bytes) are given with the symbol "kB" rather than
the more ambiguous (and arguably less accurate) symbol "KB".

In addition to republishing `bytesize`, `gix-features` also
republishes `prodash`. Futhermore, some uses of `bytesize` are
transitively through `prodash`, which itself has recently received
an update to use `bytesize` major version 2. (Since `prodash` does
not republish `bytesize`, that is not considered to be a breaking
change in `prodash` itself.) To get the benefits of the newer
version of `bytesize` while avoiding new inconsistencies, and also
to avoid depending on multiple versions of `bytesize`, the
`prodash` dependency version has also been upgraded.

For more information, see:

- GitoxideLabs#1952
- https://github.com/bytesize-rs/bytesize/releases/tag/bytesize-v2.0.0
- GitoxideLabs#1949
- GitoxideLabs/prodash#33
- GitoxideLabs#1953
# for free to join this conversation on GitHub. Already have an account? # 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.

2 participants