Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .cargo/audit.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,9 @@ ignore = [
"RUSTSEC-2024-0437", # protobuf uncontrolled recursion https://github.com/iotaledger/iota/issues/5861
"RUSTSEC-2026-0194", # should be fixed by next IOTA version
"RUSTSEC-2026-0195", # should be fixed by next IOTA version
# crypto-bigint 0.5 timing side channels, fixed only in >=0.7.6. Comes in through elliptic-curve 0.13
# (fastcrypto, iota-sdk-crypto), which has no patched release. Affects client-side secp256k1 and
# secp256r1 signing. Also ignored upstream in iota and iota-rust-sdk. Remove once fastcrypto moves to
# elliptic-curve 0.14. See #350.
"RUSTSEC-2026-0387",
]
10 changes: 6 additions & 4 deletions .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,11 +85,11 @@ jobs:
sccache-path: /home/runner/.cache/sccache
- os: macos-latest
sccache-path: /Users/runner/Library/Caches/Mozilla.sccache
- os: windows-latest
sccache-path: C:\\Users\\runner\\AppData\\Local\\Mozilla\\sccache\\cache
env:
SCCACHE_DIR: ${{ matrix.sccache-path }}
RUSTC_WRAPPER: sccache
# No sccache on Windows: since cargo 1.100 the rustc command line of crates with many dependencies
# exceeds the Windows limit, and sccache expands cargo's argfile (os error 206, mozilla/sccache#3053).
RUSTC_WRAPPER: ${{ matrix.os != 'windows-latest' && 'sccache' || '' }}
IOTA_SERVER_LOGFILE: >-
${{
matrix.os != 'windows-latest' &&
Expand Down Expand Up @@ -129,10 +129,11 @@ jobs:
update-dependencies: ${{ github.event_name == 'schedule' }}
cargo-cache-enabled: true
target-cache-enabled: true
sccache-enabled: true
sccache-enabled: ${{ matrix.os != 'windows-latest' }}
sccache-path: ${{ matrix.sccache-path }}

- name: Setup sccache
if: matrix.os != 'windows-latest'
uses: "./.github/actions/rust/sccache/setup"
with:
os: ${{matrix.os}}
Expand Down Expand Up @@ -222,6 +223,7 @@ jobs:
retention-days: 1

- name: Stop sccache
if: matrix.os != 'windows-latest'
uses: "./.github/actions/rust/sccache/stop"
with:
os: ${{matrix.os}}
Expand Down
8 changes: 7 additions & 1 deletion .github/workflows/format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,13 @@ jobs:
components: rustfmt

- name: Install cargo-license-template
run: cargo +stable install cargo-license-template
# Since Rust 1.100, cargo install uses the packaged Cargo.lock (rust-lang/cargo#17388). The one in
# cargo-license-template 0.1.3 (2022) pins regex 1.5, which rejects `\/` in .license_template, and a
# cargo_metadata that rejects edition 2024. Install without it, so dependencies resolve as before.
run: |
curl -sSfL https://static.crates.io/crates/cargo-license-template/cargo-license-template-0.1.3.crate | tar xz -C "$RUNNER_TEMP"
rm "$RUNNER_TEMP/cargo-license-template-0.1.3/Cargo.lock"
cargo +stable install --path "$RUNNER_TEMP/cargo-license-template-0.1.3"

- name: Install dprint
run: npm install -g dprint
Expand Down
Loading
Loading