Skip to content

Commit

Permalink
Update Rust Dependencies 2024-05-29 (#226)
Browse files Browse the repository at this point in the history
* Moved deprecated .cargo/config to config.toml

* Ignore clippy warning

* Updated body_reader and channel dependencies

* Updated config-wasm and hdr-histogram dependencies

* Updated additional dependencies

- Held back hyper, http, and yansi due to major changes

* Updated Yansi to latest version

- Converted Paint::disable to Yansi::disable
- Removed Windows specific code. Yansi now will try to enable on Windows and automatically disables if it can't activate.

* Added build test-server to the PR script and workflow

* Fix dependency loop with ahash on itself

- tkaitchuck/aHash#95 (comment)
- rustwasm/wasm-bindgen#3031 (comment)

* Updated yaml-rust to use yaml-rust2 due to deprecation

- chyh1990/yaml-rust#197
- chyh1990/yaml-rust#160 (comment)

* Updated cargo deny to remove deprecated entries

- EmbarkStudios/cargo-deny#611
- https://embarkstudios.github.io/cargo-deny/checks/licenses/cfg.html#the-clarify-field-optional

* Updated cargo lock file

* Updated code for deprecations

- Added tests for create_date_diff, then updated deprecated calls and confirmed tests still passed

* Added clippy ignore large results and errors

* Fixed tests to validate to UTC

- Since the PR flow runs on UTC, updated the local PR script to also run UTC
- Updated the create_date_diff test to validate UTC and print a warning to run UTC if it fails
  • Loading branch information
tkmcmaster authored Jun 3, 2024
1 parent 1c04a2a commit c716994
Show file tree
Hide file tree
Showing 20 changed files with 565 additions and 1,970 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/pr-rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,12 @@ jobs:
with:
args: cargo build -q --release --target x86_64-unknown-linux-musl

- name: Build Test Server for Linux
uses: ./.github/actions/linux-x86_64-musl/
if: matrix.build == 'linux'
with:
args: cargo build -q --release --bin test-server --target x86_64-unknown-linux-musl

wasm-pack:
name: Wasm Build
strategy:
Expand Down
Loading

0 comments on commit c716994

Please sign in to comment.