Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Update dependencies #1068

Merged
merged 2 commits into from
Nov 1, 2024
Merged

Conversation

josecelano
Copy link
Member

cargo update
    Updating crates.io index
     Locking 96 packages to latest compatible versions
    Updating addr2line v0.24.1 -> v0.24.2
    Updating anstream v0.6.15 -> v0.6.17
    Updating anstyle v1.0.8 -> v1.0.9
    Updating anstyle-parse v0.2.5 -> v0.2.6
    Updating anstyle-query v1.1.1 -> v1.1.2
    Updating anstyle-wincon v3.0.4 -> v3.0.6
    Updating anyhow v1.0.89 -> v1.0.92
    Updating async-compression v0.4.12 -> v0.4.17
    Updating async-trait v0.1.82 -> v0.1.83
    Updating autocfg v1.3.0 -> v1.4.0
    Updating aws-lc-rs v1.9.0 -> v1.10.0
    Updating aws-lc-sys v0.21.2 -> v0.22.0
    Updating axum v0.7.6 -> v0.7.7
    Updating axum-client-ip v0.6.0 -> v0.6.1
    Updating axum-core v0.4.4 -> v0.4.5
    Updating bigdecimal v0.4.5 -> v0.4.6
    Updating bindgen v0.69.4 -> v0.69.5
    Updating brotli v6.0.0 -> v7.0.0
    Updating bytemuck v1.18.0 -> v1.19.0
    Updating bytes v1.7.2 -> v1.8.0
    Updating cc v1.1.21 -> v1.1.31
    Updating clap v4.5.18 -> v4.5.20
    Updating clap_builder v4.5.18 -> v4.5.20
    Updating colorchoice v1.0.2 -> v1.0.3
    Updating encoding_rs v0.8.34 -> v0.8.35
    Updating flate2 v1.0.33 -> v1.0.34
      Adding foldhash v0.1.3
    Updating futures v0.3.30 -> v0.3.31
    Updating futures-channel v0.3.30 -> v0.3.31
    Updating futures-core v0.3.30 -> v0.3.31
    Updating futures-executor v0.3.30 -> v0.3.31
    Updating futures-io v0.3.30 -> v0.3.31
    Updating futures-lite v2.3.0 -> v2.4.0
    Updating futures-macro v0.3.30 -> v0.3.31
    Updating futures-sink v0.3.30 -> v0.3.31
    Updating futures-task v0.3.30 -> v0.3.31
    Updating futures-util v0.3.30 -> v0.3.31
    Updating gimli v0.31.0 -> v0.31.1
      Adding hashbrown v0.15.0
    Updating httparse v1.9.4 -> v1.9.5
    Updating hyper v1.4.1 -> v1.5.0
    Updating hyper-util v0.1.8 -> v0.1.10
    Updating indexmap v2.5.0 -> v2.6.0
    Updating ipnet v2.10.0 -> v2.10.1
    Updating js-sys v0.3.70 -> v0.3.72
    Updating libc v0.2.158 -> v0.2.161
    Updating libm v0.2.8 -> v0.2.11
    Updating lru v0.12.4 -> v0.12.5
    Updating object v0.36.4 -> v0.36.5
    Updating once_cell v1.19.0 -> v1.20.2
    Updating openssl v0.10.66 -> v0.10.68
    Updating openssl-sys v0.9.103 -> v0.9.104
    Updating pin-project v1.1.5 -> v1.1.7
    Updating pin-project-internal v1.1.5 -> v1.1.7
    Updating pin-project-lite v0.2.14 -> v0.2.15
      Adding portable-atomic v1.9.0
    Updating prettyplease v0.2.22 -> v0.2.25
    Updating proc-macro2 v1.0.86 -> v1.0.89
    Updating redox_syscall v0.5.4 -> v0.5.7
    Updating regex v1.10.6 -> v1.11.1
    Updating regex-automata v0.4.7 -> v0.4.8
    Updating regex-syntax v0.8.4 -> v0.8.5
    Updating reqwest v0.12.7 -> v0.12.9
    Updating ringbuf v0.4.4 -> v0.4.7
    Updating rstest v0.22.0 -> v0.23.0
    Updating rstest_macros v0.22.0 -> v0.23.0
    Updating rustix v0.38.37 -> v0.38.38
    Updating rustls v0.23.13 -> v0.23.16
    Updating rustls-pemfile v2.1.3 -> v2.2.0
    Updating rustls-pki-types v1.8.0 -> v1.10.0
    Updating rustversion v1.0.17 -> v1.0.18
    Updating schannel v0.1.24 -> v0.1.26
    Updating serde v1.0.210 -> v1.0.214
    Updating serde_derive v1.0.210 -> v1.0.214
    Updating serde_spanned v0.6.7 -> v0.6.8
    Updating serde_with v3.9.0 -> v3.11.0
    Updating serde_with_macros v3.9.0 -> v3.11.0
    Updating syn v2.0.77 -> v2.0.86
    Updating tempfile v3.12.0 -> v3.13.0
    Updating thiserror v1.0.65 -> v1.0.66
    Updating thiserror-impl v1.0.65 -> v1.0.66
    Updating tokio v1.40.0 -> v1.41.0
    Updating toml_edit v0.22.21 -> v0.22.22
    Updating unicode-bidi v0.3.15 -> v0.3.17
    Updating uuid v1.10.0 -> v1.11.0
    Updating value-bag v1.9.0 -> v1.10.0
    Updating wasm-bindgen v0.2.93 -> v0.2.95
    Updating wasm-bindgen-backend v0.2.93 -> v0.2.95
    Updating wasm-bindgen-futures v0.4.43 -> v0.4.45
    Updating wasm-bindgen-macro v0.2.93 -> v0.2.95
    Updating wasm-bindgen-macro-support v0.2.93 -> v0.2.95
    Updating wasm-bindgen-shared v0.2.93 -> v0.2.95
    Updating web-sys v0.3.70 -> v0.3.72
    Updating winnow v0.6.18 -> v0.6.20
      Adding zerocopy v0.8.8
      Adding zerocopy-derive v0.8.8

zerocopy was forced to 0.7 afterwards because aquatic_udp_protocol is using that version.

```
cargo update
    Updating crates.io index
     Locking 96 packages to latest compatible versions
    Updating addr2line v0.24.1 -> v0.24.2
    Updating anstream v0.6.15 -> v0.6.17
    Updating anstyle v1.0.8 -> v1.0.9
    Updating anstyle-parse v0.2.5 -> v0.2.6
    Updating anstyle-query v1.1.1 -> v1.1.2
    Updating anstyle-wincon v3.0.4 -> v3.0.6
    Updating anyhow v1.0.89 -> v1.0.92
    Updating async-compression v0.4.12 -> v0.4.17
    Updating async-trait v0.1.82 -> v0.1.83
    Updating autocfg v1.3.0 -> v1.4.0
    Updating aws-lc-rs v1.9.0 -> v1.10.0
    Updating aws-lc-sys v0.21.2 -> v0.22.0
    Updating axum v0.7.6 -> v0.7.7
    Updating axum-client-ip v0.6.0 -> v0.6.1
    Updating axum-core v0.4.4 -> v0.4.5
    Updating bigdecimal v0.4.5 -> v0.4.6
    Updating bindgen v0.69.4 -> v0.69.5
    Updating brotli v6.0.0 -> v7.0.0
    Updating bytemuck v1.18.0 -> v1.19.0
    Updating bytes v1.7.2 -> v1.8.0
    Updating cc v1.1.21 -> v1.1.31
    Updating clap v4.5.18 -> v4.5.20
    Updating clap_builder v4.5.18 -> v4.5.20
    Updating colorchoice v1.0.2 -> v1.0.3
    Updating encoding_rs v0.8.34 -> v0.8.35
    Updating flate2 v1.0.33 -> v1.0.34
      Adding foldhash v0.1.3
    Updating futures v0.3.30 -> v0.3.31
    Updating futures-channel v0.3.30 -> v0.3.31
    Updating futures-core v0.3.30 -> v0.3.31
    Updating futures-executor v0.3.30 -> v0.3.31
    Updating futures-io v0.3.30 -> v0.3.31
    Updating futures-lite v2.3.0 -> v2.4.0
    Updating futures-macro v0.3.30 -> v0.3.31
    Updating futures-sink v0.3.30 -> v0.3.31
    Updating futures-task v0.3.30 -> v0.3.31
    Updating futures-util v0.3.30 -> v0.3.31
    Updating gimli v0.31.0 -> v0.31.1
      Adding hashbrown v0.15.0
    Updating httparse v1.9.4 -> v1.9.5
    Updating hyper v1.4.1 -> v1.5.0
    Updating hyper-util v0.1.8 -> v0.1.10
    Updating indexmap v2.5.0 -> v2.6.0
    Updating ipnet v2.10.0 -> v2.10.1
    Updating js-sys v0.3.70 -> v0.3.72
    Updating libc v0.2.158 -> v0.2.161
    Updating libm v0.2.8 -> v0.2.11
    Updating lru v0.12.4 -> v0.12.5
    Updating object v0.36.4 -> v0.36.5
    Updating once_cell v1.19.0 -> v1.20.2
    Updating openssl v0.10.66 -> v0.10.68
    Updating openssl-sys v0.9.103 -> v0.9.104
    Updating pin-project v1.1.5 -> v1.1.7
    Updating pin-project-internal v1.1.5 -> v1.1.7
    Updating pin-project-lite v0.2.14 -> v0.2.15
      Adding portable-atomic v1.9.0
    Updating prettyplease v0.2.22 -> v0.2.25
    Updating proc-macro2 v1.0.86 -> v1.0.89
    Updating redox_syscall v0.5.4 -> v0.5.7
    Updating regex v1.10.6 -> v1.11.1
    Updating regex-automata v0.4.7 -> v0.4.8
    Updating regex-syntax v0.8.4 -> v0.8.5
    Updating reqwest v0.12.7 -> v0.12.9
    Updating ringbuf v0.4.4 -> v0.4.7
    Updating rstest v0.22.0 -> v0.23.0
    Updating rstest_macros v0.22.0 -> v0.23.0
    Updating rustix v0.38.37 -> v0.38.38
    Updating rustls v0.23.13 -> v0.23.16
    Updating rustls-pemfile v2.1.3 -> v2.2.0
    Updating rustls-pki-types v1.8.0 -> v1.10.0
    Updating rustversion v1.0.17 -> v1.0.18
    Updating schannel v0.1.24 -> v0.1.26
    Updating serde v1.0.210 -> v1.0.214
    Updating serde_derive v1.0.210 -> v1.0.214
    Updating serde_spanned v0.6.7 -> v0.6.8
    Updating serde_with v3.9.0 -> v3.11.0
    Updating serde_with_macros v3.9.0 -> v3.11.0
    Updating syn v2.0.77 -> v2.0.86
    Updating tempfile v3.12.0 -> v3.13.0
    Updating thiserror v1.0.65 -> v1.0.66
    Updating thiserror-impl v1.0.65 -> v1.0.66
    Updating tokio v1.40.0 -> v1.41.0
    Updating toml_edit v0.22.21 -> v0.22.22
    Updating unicode-bidi v0.3.15 -> v0.3.17
    Updating uuid v1.10.0 -> v1.11.0
    Updating value-bag v1.9.0 -> v1.10.0
    Updating wasm-bindgen v0.2.93 -> v0.2.95
    Updating wasm-bindgen-backend v0.2.93 -> v0.2.95
    Updating wasm-bindgen-futures v0.4.43 -> v0.4.45
    Updating wasm-bindgen-macro v0.2.93 -> v0.2.95
    Updating wasm-bindgen-macro-support v0.2.93 -> v0.2.95
    Updating wasm-bindgen-shared v0.2.93 -> v0.2.95
    Updating web-sys v0.3.70 -> v0.3.72
    Updating winnow v0.6.18 -> v0.6.20
      Adding zerocopy v0.8.8
      Adding zerocopy-derive v0.8.8
```
The aquatic_udp_protocol crate uses version 0.7:

https://github.com/greatest-ape/aquatic/blob/master/crates/udp_protocol/Cargo.toml#L19

We were having problems with trait `read_from`. Example:

```rust
let data = PeerId::read_from(&bytes).expect("it should have the correct amount of bytes");
```

There have been changes in version 0.8:

google/zerocopy#1680
Copy link

codecov bot commented Nov 1, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 77.14%. Comparing base (ad10d1b) to head (e58bdeb).
Report is 3 commits behind head on develop.

Additional details and impacted files
@@             Coverage Diff             @@
##           develop    #1068      +/-   ##
===========================================
+ Coverage    77.11%   77.14%   +0.03%     
===========================================
  Files          176      176              
  Lines        10085    10099      +14     
===========================================
+ Hits          7777     7791      +14     
  Misses        2308     2308              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@josecelano
Copy link
Member Author

ACK e58bdeb

@josecelano josecelano merged commit 25d9487 into torrust:develop Nov 1, 2024
17 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant