Skip to content

Commit

Permalink
Bump the rust-dependencies group with 5 updates (#258)
Browse files Browse the repository at this point in the history
* Bump the rust-dependencies group with 5 updates

Bumps the rust-dependencies group with 5 updates:

| Package | From | To |
| --- | --- | --- |
| [tempfile](https://github.com/Stebalien/tempfile) | `3.9.0` | `3.10.1` |
| [thiserror](https://github.com/dtolnay/thiserror) | `1.0.55` | `1.0.57` |
| [ureq](https://github.com/algesten/ureq) | `2.9.1` | `2.9.6` |
| [clap](https://github.com/clap-rs/clap) | `4.4.18` | `4.5.1` |
| [toml](https://github.com/toml-rs/toml) | `0.8.9` | `0.8.10` |


Updates `tempfile` from 3.9.0 to 3.10.1
- [Changelog](https://github.com/Stebalien/tempfile/blob/master/CHANGELOG.md)
- [Commits](Stebalien/tempfile@v3.9.0...v3.10.1)

Updates `thiserror` from 1.0.55 to 1.0.57
- [Release notes](https://github.com/dtolnay/thiserror/releases)
- [Commits](dtolnay/thiserror@1.0.55...1.0.57)

Updates `ureq` from 2.9.1 to 2.9.6
- [Changelog](https://github.com/algesten/ureq/blob/main/CHANGELOG.md)
- [Commits](algesten/ureq@2.9.1...2.9.6)

Updates `clap` from 4.4.18 to 4.5.1
- [Release notes](https://github.com/clap-rs/clap/releases)
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md)
- [Commits](clap-rs/clap@v4.4.18...clap_complete-v4.5.1)

Updates `toml` from 0.8.9 to 0.8.10
- [Commits](toml-rs/toml@toml-v0.8.9...toml-v0.8.10)

---
updated-dependencies:
- dependency-name: tempfile
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: rust-dependencies
- dependency-name: thiserror
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: rust-dependencies
- dependency-name: ureq
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: rust-dependencies
- dependency-name: clap
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: rust-dependencies
- dependency-name: toml
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: rust-dependencies
...

Signed-off-by: dependabot[bot] <[email protected]>

* Refresh lockfile

* Sort deps in Cargo.toml alphabetically

* Make libcnb-test version specifier consistent

* Remove unnecessary lint suppression

Since the import is now used in the library itself.

* Disable unused Cargo features

* Switch to the `zlib` flate2 backend

The default `miniz_oxide` flate2 backend has poor performance in debug/under QEMU:
rust-lang/flate2-rs#297

Ideally we'd use the fastest `zlib-ng` backend, however it fails to cross-compile:
rust-lang/libz-sys#93

As such we have to use the next best alternate backend, which is `zlib`.

This makes the `flate2` usage in this repo consistent with `libherokubuildpack`,
Python CNB, PHP CNB etc.

* Add TODO about regex vs fancy-regex

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Ed Morley <[email protected]>
  • Loading branch information
dependabot[bot] and edmorley authored Mar 1, 2024
1 parent 6f45f77 commit 04cb18f
Show file tree
Hide file tree
Showing 4 changed files with 187 additions and 300 deletions.
Loading

0 comments on commit 04cb18f

Please sign in to comment.