Skip to content

Check for unused dependencies #2109

@gabrielbosio

Description

@gabrielbosio

We should check if there are dependencies listed in the VM’s Cargo.toml which are not currently being used. Also, we should check wether there are some whose use is quite trivial and could be replaced by implementing its functionality.

For example, using cargo-machete, we can see that the following dependencies are not currently in use:

  • cairo-vm-tracer (./cairo-vm-tracer/Cargo.toml):
    • tower
  • cairo1-run (./cairo1-run/Cargo.toml):
    • cairo-lang-sierra-ap-change
    • cairo-lang-sierra-gas
    • cairo-lang-starknet-classes
    • mimalloc
  • wasm-demo (./examples/wasm-demo/Cargo.toml):
    • serde_json
  • cairo-vm-cli (./cairo-vm-cli/Cargo.toml):
    • nom

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions