Skip to content

Commit 5838916

Browse files
committed
Merge branch 'staging' into feat/program-upgradability
2 parents eccfa22 + 03ac43c commit 5838916

File tree

54 files changed

+1162
-1089
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

54 files changed

+1162
-1089
lines changed

.cargo/audit.toml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
[advisories]
2+
ignore = [
3+
# As the rust community considers the paste crate 'done', we can safely ignore this warning.
4+
# see https://users.rust-lang.org/t/paste-alternatives/126787/2
5+
"RUSTSEC-2024-0436",
6+
]

.circleci/config.yml

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -393,6 +393,40 @@ jobs:
393393
- clear_environment:
394394
cache_key: v3.3.1-rust-1.83.0-fmt-cache
395395

396+
check-unused-dependencies:
397+
docker:
398+
- image: cimg/rust:1.83.0 # Attention - Change the MSRV in Cargo.toml and rust-toolchain as well
399+
resource_class: << pipeline.parameters.medium >>
400+
steps:
401+
- checkout
402+
- setup_environment:
403+
cache_key: v3.3.1-rust-1.83.0-machete-cache
404+
- run:
405+
name: Check for unused dependencies
406+
no_output_timeout: 10m
407+
command: |
408+
cargo install [email protected]
409+
cargo machete
410+
- clear_environment:
411+
cache_key: v3.3.1-rust-1.83.0-machete-cache
412+
413+
check-cargo-audit:
414+
docker:
415+
- image: cimg/rust:1.83.0 # Attention - Change the MSRV in Cargo.toml and rust-toolchain as well
416+
resource_class: << pipeline.parameters.medium >>
417+
steps:
418+
- checkout
419+
- setup_environment:
420+
cache_key: v3.3.1-rust-1.83.0-cargo-audit-cache
421+
- run:
422+
name: Check for security vulnerabilities
423+
no_output_timeout: 10m
424+
command: |
425+
cargo install [email protected] --locked
426+
cargo audit -D warnings
427+
- clear_environment:
428+
cache_key: v3.3.1-rust-1.83.0-cargo-audit-cache
429+
396430
check-clippy:
397431
docker:
398432
- image: cimg/rust:1.83.0 # Attention - Change the MSRV in Cargo.toml and rust-toolchain as well
@@ -448,6 +482,8 @@ workflows:
448482
- node-tcp
449483
- check-fmt
450484
- check-clippy
485+
- check-unused-dependencies
486+
- check-cargo-audit
451487
- devnet-test
452488

453489
windows-workflow:

.resources/release-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v3.7.1
1+
v3.8.0

0 commit comments

Comments
 (0)