Skip to content

chore(deny): fix advisories#20220

Merged
amnn merged 3 commits into
mainfrom
amnn/fix-deny
Nov 11, 2024
Merged

chore(deny): fix advisories#20220
amnn merged 3 commits into
mainfrom
amnn/fix-deny

Conversation

@amnn
Copy link
Copy Markdown
Contributor

@amnn amnn commented Nov 11, 2024

Description

Address cargo deny checks for:

  • RUSTSEC-2024-0384
  • RUSTSEC-2024-0387
    • opentelemetry_api is folded into opentelemetry -- we don't use the former, we can just get rid of the dependency.
  • RUSTSEC-2024-0388
    • derivative is unmaintained.
    • Removed our direct usages of this API, replacing them with uses of derive_more (which needed to be bumped).
    • Added to the deny.toml ignore list to let dependencies upgrade in their own time.

Test plan

CI


Release notes

Check each box that your changes affect. If none of the boxes relate to your changes, release notes aren't required.

For each box you select, include information after the relevant heading that describes the impact of your changes that a user might notice and any actions they must take to implement updates.

  • Protocol:
  • Nodes (Validators and Full nodes):
  • Indexer:
  • JSON-RPC:
  • GraphQL:
  • CLI:
  • Rust SDK:
  • REST API:

amnn added 3 commits November 11, 2024 17:06
Waiting on dependent packages to update.
## Description

`derivative` is unmaintained. Switch existing uses to use `derive_more`
instead, which is an existing dependency that has all the necessary
features.

This also required bumping `derive_more` to `1.0.0`, which introduced
some small breaking changes, and means that we are pulling in two
versions of `derive_more` due to transitive dependency constraints, but
in this case, it should be okay because we are mainly using this dep for
its proc macros, and one hopes that eventually the transitive deps will
upgrade to `1.x` as well.

## Test plan

CI
## Description

We are not using this dependency and `cargo deny` includes an advisory
that it has been rolled into `opentelemetry`, which this change
silences.

## Test plan

CI
@amnn amnn requested review from bmwill, lxfind and mystenmark November 11, 2024 17:10
@amnn amnn self-assigned this Nov 11, 2024
@vercel
Copy link
Copy Markdown

vercel Bot commented Nov 11, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

3 Skipped Deployments
Name Status Preview Comments Updated (UTC)
multisig-toolkit ⬜️ Ignored (Inspect) Nov 11, 2024 5:10pm
sui-kiosk ⬜️ Ignored (Inspect) Nov 11, 2024 5:10pm
sui-typescript-docs ⬜️ Ignored (Inspect) Nov 11, 2024 5:10pm

@amnn amnn temporarily deployed to sui-typescript-aws-kms-test-env November 11, 2024 17:10 — with GitHub Actions Inactive
@amnn amnn enabled auto-merge (rebase) November 11, 2024 17:31
@amnn amnn merged commit 1c96999 into main Nov 11, 2024
@amnn amnn deleted the amnn/fix-deny branch November 11, 2024 17:38
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.

3 participants