Skip to content

Commit b70c2db

Browse files
lwshangclaude
andauthored
chore: ignore RUSTSEC-2026-0037 and upgrade/consolidate dependencies (#419)
* fix: resolve compilation errors from rand 0.9 -> 0.10 upgrade In rand 0.10, `RngCore` was removed from the root and `fill_bytes` moved to the `Rng` trait, while `random_range` moved to the `RngExt` trait. Revert sec1 to 0.7.3 since 0.8.0 requires der 0.8 which is incompatible with the current pkcs8 0.10 / elliptic-curve 0.13 generation. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> * refactor: centralize all dependency versions in workspace Cargo.toml Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> * chore: inline reqwest/schemars workspace deps and upgrade nix to 0.31.2 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> * chore: add taplo.toml for consistent TOML formatting Configures taplo to keep arrays and inline tables on single lines. The VSCode "Even Better TOML" extension will automatically use this config. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> * chore: ignore RUSTSEC-2026-0037 (quinn-proto DoS) The quinn-proto vulnerability is only reachable via reqwest's `http3` feature, which is not enabled in this project. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> * ci: add TOML formatting check using taplo Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> * ci: fix taplo download URL and gunzip flags Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> * chore: remove taplo.toml and reformat TOML files with default settings Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
1 parent f339db6 commit b70c2db

File tree

12 files changed

+278
-373
lines changed

12 files changed

+278
-373
lines changed

.cargo/audit.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
ignore = [
33
"RUSTSEC-2025-0140", # gix-date UTF-8 contract issue dependency of cargo-generate
44
"RUSTSEC-2026-0001", # rkyv undefined behavior on OOM dependency of byte-unit
5+
"RUSTSEC-2026-0037", # quinn-proto DoS - transitive via reqwest/ic-agent, quinn feature not used
56

67
# Unmaintained crates (transitive dependencies)
78
"RUSTSEC-2021-0127", # serde_cbor - dependency of ic-agent/ic-transport-types

.github/workflows/checks.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,23 @@ jobs:
7878
- name: Check formatting
7979
run: cargo fmt --all -- --check
8080

81+
toml-format:
82+
name: toml-fmt:required
83+
runs-on: ubuntu-latest
84+
85+
steps:
86+
- uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4.3.0
87+
88+
- name: Install taplo
89+
run: |
90+
curl -fsSL https://github.com/tamasfe/taplo/releases/latest/download/taplo-linux-x86_64.gz \
91+
| gunzip -c > taplo
92+
chmod +x taplo
93+
sudo mv taplo /usr/local/bin/taplo
94+
95+
- name: Check TOML formatting
96+
run: taplo fmt --check
97+
8198
#
8299
# Runs a series of checks to make sure that all the docs
83100
# that need to be generated have been genrated an are up

0 commit comments

Comments
 (0)