Skip to content

Remove cargo-tarpaulin from workspace dev-dependencies #461

Description

@DeFiVC

What

cargo-tarpaulin = "0.29" is listed as a [dev-dependencies] entry in the root Cargo.toml (line 38). cargo-tarpaulin is a CLI tool, not a library crate. Listing it as a dev-dependency means it is compiled as part of the workspace dependency tree on every cargo build and cargo test.

Why

Every CI run and local build compiles an unnecessary CLI tool. The coverage.sh script already checks if cargo-tarpaulin is installed and provides installation instructions. It should be installed separately via cargo install cargo-tarpaulin, not as a workspace dependency.

Scope

  • Remove cargo-tarpaulin = "0.29" from [dev-dependencies] in the root Cargo.toml
  • Update coverage.sh if needed to handle the absence gracefully (it already does)

Acceptance Criteria

  • cargo-tarpaulin is not in [dev-dependencies]
  • cargo build and cargo test no longer compile cargo-tarpaulin
  • coverage.sh still works correctly

Technical Context

  • Cargo.toml:36-38 — the dev-dependency entry
  • scripts/coverage.sh:6-10 — already checks for installation

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Stellar WaveIssues in the Stellar wave programenhancementNew feature or requestlowCosmetic, minor improvement, code quality, documentationrustRust language

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions