Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deny): fix advisories #20220

Merged
merged 3 commits into from
Nov 11, 2024
Merged

chore(deny): fix advisories #20220

merged 3 commits into from
Nov 11, 2024

Conversation

amnn
Copy link
Member

@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:

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 self-assigned this Nov 11, 2024
Copy link

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
55 of 56 checks passed
@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