Skip to content

[auto] Update cargo and nix flake dependencies#362

Merged
kp-weiwen-goh merged 3 commits intomainfrom
gha/cargo-update
Mar 6, 2026
Merged

[auto] Update cargo and nix flake dependencies#362
kp-weiwen-goh merged 3 commits intomainfrom
gha/cargo-update

Conversation

@xv-github-iat-bot
Copy link
Collaborator

@xv-github-iat-bot xv-github-iat-bot commented Mar 3, 2026

$ cargo update
    Updating crates.io index
     Locking 30 packages to latest Rust 1.93.1 compatible versions
    Updating ctrlc v3.5.1 -> v3.5.2
    Updating dispatch2 v0.3.0 -> v0.3.1
    Updating getifaddrs v0.2.0 -> v0.6.0
    Updating getrandom v0.4.1 -> v0.4.2
    Updating ipnet v2.11.0 -> v2.12.0
    Updating js-sys v0.3.90 -> v0.3.91
      Adding libloading v0.9.0
    Removing mac_address v1.1.8
    Updating nix v0.29.0 -> v0.31.2
    Updating objc2 v0.6.3 -> v0.6.4
    Updating pin-project-lite v0.2.16 -> v0.2.17
    Updating piper v0.2.4 -> v0.2.5
    Updating proc-macro-crate v3.4.0 -> v3.5.0
    Updating quote v1.0.44 -> v1.0.45
      Adding r-efi v6.0.0
    Updating sketches-ddsketch v0.3.0 -> v0.3.1
    Updating tokio v1.49.0 -> v1.50.0
    Updating tokio-macros v2.6.0 -> v2.6.1
    Updating toml_datetime v0.7.5+spec-1.1.0 -> v1.0.0+spec-1.1.0
    Updating toml_edit v0.23.10+spec-1.0.0 -> v0.25.4+spec-1.1.0
    Updating tun-rs v2.7.5 -> v2.8.1 (available: v2.8.2)
    Updating wasm-bindgen v0.2.113 -> v0.2.114
    Updating wasm-bindgen-macro v0.2.113 -> v0.2.114
    Updating wasm-bindgen-macro-support v0.2.113 -> v0.2.114
    Updating wasm-bindgen-shared v0.2.113 -> v0.2.114
    Updating web-sys v0.3.90 -> v0.3.91
    Updating winnow v0.7.14 -> v0.7.15
    Updating wolfssl v4.0.0 -> v4.1.0
    Updating wolfssl-sys v3.0.0 -> v3.1.0
    Updating zerocopy v0.8.39 -> v0.8.40
    Updating zerocopy-derive v0.8.39 -> v0.8.40
note: pass `--verbose` to see 9 unchanged dependencies behind latest
$ nix flake update
warning: Git tree '/home/runner/work/lightway/lightway' has uncommitted changes
unpacking 'github:hercules-ci/flake-parts/f20dc5d9b8027381c474144ecabc9034d6a839a3' into the Git cache...
unpacking 'github:nixos/nixpkgs/66d9241e3dc2296726dc522e62dbfe89c7b449f3' into the Git cache...
unpacking 'github:oxalica/rust-overlay/910c131a00d237d3eaf216bc91a7190ca6b0ee8e' into the Git cache...
warning: updating lock file "/home/runner/work/lightway/lightway/flake.lock":
• Updated input 'nixpkgs':
    'github:nixos/nixpkgs/0fd2db4' (2026-03-04)
  → 'github:nixos/nixpkgs/66d9241' (2026-03-05)
• Updated input 'rust-overlay':
    'github:oxalica/rust-overlay/a741b36' (2026-03-04)
  → 'github:oxalica/rust-overlay/910c131' (2026-03-06)

@xv-github-iat-bot xv-github-iat-bot requested a review from a team as a code owner March 3, 2026 06:05
@github-actions
Copy link

github-actions bot commented Mar 3, 2026

Workspace Outdated Dependencies

$ cargo outdated --root-deps-only --exit-code 1
lightway-core
================
Name       Project  Compat  Latest  Kind    Platform
----       -------  ------  ------  ----    --------
rand_core  0.9.5    ---     0.10.0  Normal  ---

lightway-server
================
Name   Project  Compat  Latest  Kind    Platform
----   -------  ------  ------  ----    --------
strum  0.27.2   ---     0.28.0  Normal  ---

@github-actions
Copy link

github-actions bot commented Mar 3, 2026

Code coverage summary for 58d411e:

Filename                                                     Regions    Missed Regions     Cover   Functions  Missed Functions  Executed       Lines      Missed Lines     Cover    Branches   Missed Branches     Cover
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
lightway-app-utils/src/args/cipher.rs                              5                 5     0.00%           1                 1     0.00%           5                 5     0.00%           0                 0         -
lightway-app-utils/src/args/connection_type.rs                     5                 5     0.00%           1                 1     0.00%           5                 5     0.00%           0                 0         -
lightway-app-utils/src/args/duration.rs                           22                18    18.18%           5                 4    20.00%          15                12    20.00%           0                 0         -
lightway-app-utils/src/args/ip_map.rs                             19                19     0.00%           3                 3     0.00%          13                13     0.00%           0                 0         -
lightway-app-utils/src/args/logging.rs                            37                37     0.00%           3                 3     0.00%          31                31     0.00%           0                 0         -
lightway-app-utils/src/args/nonzero_duration.rs                   24                16    33.33%           4                 3    25.00%          16                10    37.50%           0                 0         -
lightway-app-utils/src/connection_ticker.rs                      229                17    92.58%          28                 4    85.71%         126                15    88.10%           0                 0         -
lightway-app-utils/src/dplpmtud_timer.rs                         209                13    93.78%          22                 4    81.82%         117                11    90.60%           0                 0         -
lightway-app-utils/src/event_stream.rs                            19                 0   100.00%           3                 0   100.00%          11                 0   100.00%           0                 0         -
lightway-app-utils/src/sockopt/ip_mtu_discover.rs                 77                77     0.00%           6                 6     0.00%          68                68     0.00%           0                 0         -
lightway-app-utils/src/sockopt/ip_pktinfo.rs                      14                14     0.00%           1                 1     0.00%          16                16     0.00%           0                 0         -
lightway-app-utils/src/tun.rs                                    281               281     0.00%          31                31     0.00%         175               175     0.00%           0                 0         -
lightway-app-utils/src/utils.rs                                   21                21     0.00%           1                 1     0.00%          11                11     0.00%           0                 0         -
lightway-client/src/args.rs                                       35                14    60.00%           2                 1    50.00%          17                 8    52.94%           0                 0         -
lightway-client/src/dns_manager.rs                                15                15     0.00%           3                 3     0.00%          11                11     0.00%           0                 0         -
lightway-client/src/io/inside/tun.rs                              78                78     0.00%          11                11     0.00%          57                57     0.00%           0                 0         -
lightway-client/src/io/outside/tcp.rs                             80                80     0.00%          11                11     0.00%          48                48     0.00%           0                 0         -
lightway-client/src/io/outside/udp.rs                            121               121     0.00%          13                13     0.00%          74                74     0.00%           0                 0         -
lightway-client/src/keepalive.rs                                 615                44    92.85%          55                 6    89.09%         330                25    92.42%           0                 0         -
lightway-client/src/lib.rs                                       745               610    18.12%          56                46    17.86%         534               445    16.67%           0                 0         -
lightway-client/src/main.rs                                      181               181     0.00%          11                11     0.00%         146               146     0.00%           0                 0         -
lightway-client/src/platform/linux/dns_manager.rs                141                63    55.32%          16                 6    62.50%          93                40    56.99%           0                 0         -
lightway-client/src/route_manager.rs                            1190               210    82.35%          77                 8    89.61%         663               116    82.50%           0                 0         -
lightway-core/src/borrowed_bytesmut.rs                           373                 0   100.00%          24                 0   100.00%         185                 0   100.00%           0                 0         -
lightway-core/src/builder_predicates.rs                           24                12    50.00%           4                 2    50.00%          24                12    50.00%           0                 0         -
lightway-core/src/cipher.rs                                       13                 0   100.00%           2                 0   100.00%          10                 0   100.00%           0                 0         -
lightway-core/src/connection.rs                                 1602               785    51.00%          71                26    63.38%        1129               523    53.68%           0                 0         -
lightway-core/src/connection/builders.rs                         238                46    80.67%          21                 8    61.90%         247                53    78.54%           0                 0         -
lightway-core/src/connection/dplpmtud.rs                        1741                81    95.35%          63                 0   100.00%         830                 7    99.16%           0                 0         -
lightway-core/src/connection/fragment_map.rs                     366                 6    98.36%          25                 0   100.00%         254                 3    98.82%           0                 0         -
lightway-core/src/connection/io_adapter.rs                       526                23    95.63%          34                 5    85.29%         276                21    92.39%           0                 0         -
lightway-core/src/connection/key_update.rs                        34                13    61.76%           5                 0   100.00%          38                19    50.00%           0                 0         -
lightway-core/src/context.rs                                     202                45    77.72%          26                 9    65.38%         213                52    75.59%           0                 0         -
lightway-core/src/context/ip_pool.rs                               8                 3    62.50%           1                 0   100.00%           5                 0   100.00%           0                 0         -
lightway-core/src/context/server_auth.rs                          32                24    25.00%           4                 3    25.00%          24                20    16.67%           0                 0         -
lightway-core/src/encoding_request_states.rs                       3                 0   100.00%           1                 0   100.00%           3                 0   100.00%           0                 0         -
lightway-core/src/io.rs                                           10                10     0.00%           3                 3     0.00%           9                 9     0.00%           0                 0         -
lightway-core/src/lib.rs                                           9                 0   100.00%           3                 0   100.00%           9                 0   100.00%           0                 0         -
lightway-core/src/metrics.rs                                      51                41    19.61%          21                17    19.05%          48                38    20.83%           0                 0         -
lightway-core/src/packet.rs                                       38                10    73.68%           4                 1    75.00%          30                 6    80.00%           0                 0         -
lightway-core/src/plugin.rs                                      303                13    95.71%          21                 3    85.71%         145                 7    95.17%           0                 0         -
lightway-core/src/utils.rs                                       334                26    92.22%          22                 2    90.91%         165                17    89.70%           0                 0         -
lightway-core/src/version.rs                                      93                 0   100.00%          17                 0   100.00%          82                 0   100.00%           0                 0         -
lightway-core/src/wire.rs                                        434                39    91.01%          28                 0   100.00%         232                 9    96.12%           0                 0         -
lightway-core/src/wire/auth_failure.rs                            27                 1    96.30%           3                 0   100.00%          17                 0   100.00%           0                 0         -
lightway-core/src/wire/auth_request.rs                           472                12    97.46%          26                 0   100.00%         241                 0   100.00%           0                 0         -
lightway-core/src/wire/auth_success_with_config_ipv4.rs          222                 3    98.65%          11                 0   100.00%         124                 0   100.00%           0                 0         -
lightway-core/src/wire/data.rs                                    51                 1    98.04%           5                 0   100.00%          33                 0   100.00%           0                 0         -
lightway-core/src/wire/data_frag.rs                              127                 1    99.21%          14                 0   100.00%          80                 0   100.00%           0                 0         -
lightway-core/src/wire/encoding_request.rs                        82                 2    97.56%           6                 0   100.00%          42                 1    97.62%           0                 0         -
lightway-core/src/wire/encoding_response.rs                       82                 2    97.56%           6                 0   100.00%          42                 1    97.62%           0                 0         -
lightway-core/src/wire/expresslane_config.rs                     166                 1    99.40%           8                 0   100.00%          92                 0   100.00%           0                 0         -
lightway-core/src/wire/expresslane_data.rs                       994                50    94.97%          39                 4    89.74%         498                27    94.58%           0                 0         -
lightway-core/src/wire/ping.rs                                    95                 2    97.89%           7                 0   100.00%          59                 0   100.00%           0                 0         -
lightway-core/src/wire/pong.rs                                   109                 2    98.17%           8                 0   100.00%          72                 0   100.00%           0                 0         -
lightway-core/src/wire/server_config.rs                           69                 2    97.10%           4                 0   100.00%          37                 0   100.00%           0                 0         -
lightway-server/src/auth.rs                                      273                49    82.05%          22                 6    72.73%         171                28    83.63%           0                 0         -
lightway-server/src/connection.rs                                137               137     0.00%          11                11     0.00%         110               110     0.00%           0                 0         -
lightway-server/src/connection_manager.rs                        326               326     0.00%          39                39     0.00%         275               275     0.00%           0                 0         -
lightway-server/src/connection_manager/connection_map.rs         407                16    96.07%          21                 1    95.24%         228                 7    96.93%           0                 0         -
lightway-server/src/io/inside/tun.rs                              44                44     0.00%           9                 9     0.00%          30                30     0.00%           0                 0         -
lightway-server/src/io/outside/tcp.rs                             90                90     0.00%           9                 9     0.00%          65                65     0.00%           0                 0         -
lightway-server/src/io/outside/udp.rs                            316               316     0.00%          16                16     0.00%         205               205     0.00%           0                 0         -
lightway-server/src/io/outside/udp/cmsg.rs                       197                53    73.10%          14                 5    64.29%         158                43    72.78%           0                 0         -
lightway-server/src/ip_manager.rs                                542                50    90.77%          22                 4    81.82%         242                23    90.50%           0                 0         -
lightway-server/src/ip_manager/ip_pool.rs                        540                 0   100.00%          27                 0   100.00%         252                 0   100.00%           0                 0         -
lightway-server/src/lib.rs                                       251               251     0.00%          14                14     0.00%         169               169     0.00%           0                 0         -
lightway-server/src/main.rs                                      218               218     0.00%          10                10     0.00%         120               120     0.00%           0                 0         -
lightway-server/src/metrics.rs                                   254               250     1.57%          85                83     2.35%         215               211     1.86%           0                 0         -
lightway-server/src/statistics.rs                                132                59    55.30%           8                 4    50.00%          86                35    59.30%           0                 0         -
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
TOTAL                                                          16820              5054    69.95%        1208               472    60.93%       10203              3488    65.81%           0                 0         -

✅ Region coverage 69% passes
✅ Line coverage 65% passes

```console
$ cargo update
    Updating crates.io index
     Locking 30 packages to latest Rust 1.93.1 compatible versions
    Updating ctrlc v3.5.1 -> v3.5.2
    Updating dispatch2 v0.3.0 -> v0.3.1
    Updating getifaddrs v0.2.0 -> v0.6.0
    Updating getrandom v0.4.1 -> v0.4.2
    Updating ipnet v2.11.0 -> v2.12.0
    Updating js-sys v0.3.90 -> v0.3.91
      Adding libloading v0.9.0
    Removing mac_address v1.1.8
    Updating nix v0.29.0 -> v0.31.2
    Updating objc2 v0.6.3 -> v0.6.4
    Updating pin-project-lite v0.2.16 -> v0.2.17
    Updating piper v0.2.4 -> v0.2.5
    Updating proc-macro-crate v3.4.0 -> v3.5.0
    Updating quote v1.0.44 -> v1.0.45
      Adding r-efi v6.0.0
    Updating sketches-ddsketch v0.3.0 -> v0.3.1
    Updating tokio v1.49.0 -> v1.50.0
    Updating tokio-macros v2.6.0 -> v2.6.1
    Updating toml_datetime v0.7.5+spec-1.1.0 -> v1.0.0+spec-1.1.0
    Updating toml_edit v0.23.10+spec-1.0.0 -> v0.25.4+spec-1.1.0
    Updating tun-rs v2.7.5 -> v2.8.1 (available: v2.8.2)
    Updating wasm-bindgen v0.2.113 -> v0.2.114
    Updating wasm-bindgen-macro v0.2.113 -> v0.2.114
    Updating wasm-bindgen-macro-support v0.2.113 -> v0.2.114
    Updating wasm-bindgen-shared v0.2.113 -> v0.2.114
    Updating web-sys v0.3.90 -> v0.3.91
    Updating winnow v0.7.14 -> v0.7.15
    Updating wolfssl v4.0.0 -> v4.1.0
    Updating wolfssl-sys v3.0.0 -> v3.1.0
    Updating zerocopy v0.8.39 -> v0.8.40
    Updating zerocopy-derive v0.8.39 -> v0.8.40
note: pass `--verbose` to see 9 unchanged dependencies behind latest
```

```console
$ nix flake update
warning: Git tree '/home/runner/work/lightway/lightway' has uncommitted changes
unpacking 'github:hercules-ci/flake-parts/f20dc5d9b8027381c474144ecabc9034d6a839a3' into the Git cache...
unpacking 'github:nixos/nixpkgs/66d9241e3dc2296726dc522e62dbfe89c7b449f3' into the Git cache...
unpacking 'github:oxalica/rust-overlay/910c131a00d237d3eaf216bc91a7190ca6b0ee8e' into the Git cache...
warning: updating lock file "/home/runner/work/lightway/lightway/flake.lock":
• Updated input 'nixpkgs':
    'github:nixos/nixpkgs/0fd2db4' (2026-03-04)
  → 'github:nixos/nixpkgs/66d9241' (2026-03-05)
• Updated input 'rust-overlay':
    'github:oxalica/rust-overlay/a741b36' (2026-03-04)
  → 'github:oxalica/rust-overlay/910c131' (2026-03-06)
```
@xv-github-iat-bot xv-github-iat-bot changed the title [auto] Update cargo dependencies [auto] Update cargo and nix flake dependencies Mar 6, 2026
@github-actions
Copy link

github-actions bot commented Mar 6, 2026

Workspace Outdated Dependencies

$ cargo outdated --root-deps-only --exit-code 1
lightway-core
================
Name       Project  Compat  Latest  Kind    Platform
----       -------  ------  ------  ----    --------
rand_core  0.9.5    ---     0.10.0  Normal  ---

lightway-app-utils
================
Name         Project  Compat  Latest  Kind    Platform
----         -------  ------  ------  ----    --------
fs-mistrust  0.13.2   ---     0.14.0  Normal  ---

lightway-server
================
Name   Project  Compat  Latest  Kind    Platform
----   -------  ------  ------  ----    --------
strum  0.27.2   ---     0.28.0  Normal  ---

…ckend

Replace the rust_crypto feature with aws_lc_rs for jsonwebtoken to remove
the vulnerable rsa crate (RUSTSEC-2023-0071) from the dependency tree.
The aws_lc_rs backend provides constant-time RSA operations via AWS-LC.

Ref:
https://github.com/expressvpn/lightway/actions/runs/22748827085
@kp-weiwen-goh kp-weiwen-goh merged commit ecef6ab into main Mar 6, 2026
40 of 42 checks passed
@kp-weiwen-goh kp-weiwen-goh deleted the gha/cargo-update branch March 6, 2026 06:21
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.

4 participants