Skip to content
This repository was archived by the owner on Nov 15, 2023. It is now read-only.
This repository was archived by the owner on Nov 15, 2023. It is now read-only.

clean up dependencies for next release #7956

@gnunicorn

Description

@gnunicorn

for #7947 we want to prune our dependency tree again. mainly this means:

  • remove dublicates, where possible
  • cargo audit currently identifies 13 dependency that are vulnerable, 3 of which have been yanked.
    • block-cipher is unmaintained - which we pull in via libp2p, through chacha20poly1305 (which has an updated version not depending on block-cipher), which is a dependency of snow, for which there is no update yet. Required action:
    • difference is unmaintained, we are pulling it in through sp-state-machine's dependency .pretty_assertions. Unfortunately, it appears that pretty_assertions is also not maintained anymore (last release and PR merge was Feb 2019, multiple PRs pending since, no updates). Secondly, difference is pullled in from node-cli via assert_cmd. Fortunately, it is only a dev-dependency in both cases. No action required.
    • We are pulling in the unmaintained failure-crate via jsonrpc-client-transports (via jsonrpc-core-client), new versions have been issues (v17), that do not depend on failure anymore. Action:
    • memmap 0.7.0, needed by parity-db 0.1.2, is not maintained anymore. But a fork and drop-in-replacement seems to exist: memmap2. Required actions:
    • net2 0.2.35 is not maintained anymore. Recommendation is to use socket2 instead. It isn't 100% clear but seems that an update ot jsonrpc will also cover this one.
      • confirm upgrading jsonrpc will fix this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions