cargo-llvm-cov
« Back to VersTracker
Description:
Cargo subcommand to easily use LLVM source-based code coverage
Type: Formula  |  Latest Version: 0.6.21@0  |  Tracked Since: Dec 17, 2025
Links: Homepage  |  @taiki_e  |  formulae.brew.sh
Category: Developer tools
Tags: rust coverage testing llvm developer-tools ci-cd
Install: brew install cargo-llvm-cov
About:
cargo-llvm-cov is a Cargo subcommand that generates accurate code coverage reports using LLVM's source-based coverage instrumentation. It simplifies the process of collecting coverage data for Rust projects by automatically handling compiler flags and test execution. The tool outputs results in multiple formats, including HTML, LCOV, and Cobertura XML, making it easy to integrate with CI pipelines and code quality platforms.
Key Features:
  • Automated LLVM source-based coverage instrumentation for Rust projects
  • Supports multiple output formats (HTML, LCOV, Cobertura XML, JSON)
  • Seamless integration with cargo test workflow
  • Generates accurate line-by-line coverage reports
  • Compatible with popular CI/CD platforms and code coverage services
Use Cases:
  • Measuring test coverage in Rust projects to identify untested code paths
  • Integrating coverage reporting into CI/CD pipelines for quality gates
  • Generating coverage reports for open-source projects to demonstrate test quality
Alternatives:
  • tarpaulin – tarpaulin uses ptrace-based instrumentation which can be less accurate than LLVM's source-based approach, but doesn't require nightly compiler features
  • grcov – grcov is a coverage aggregation tool that works with multiple profilers but requires more manual setup compared to cargo-llvm-cov's integrated approach
License: Apache-2.0 OR MIT
Bottles available for: arm64_tahoe, arm64_sequoia, arm64_sonoma, sonoma, arm64_linux, x86_64_linux
Version History
Detected Version Rev Change Commit
Oct 4, 2025 10:28am 0 VERSION_BUMP 1fb85ade
Oct 4, 2025 7:53am 0 VERSION_BUMP 30af38bd
Jan 16, 2025 4:51pm 0 VERSION_BUMP 29016dbd
Dec 21, 2024 11:37pm 0 VERSION_BUMP e696d2bb
Oct 12, 2024 12:27pm 0 VERSION_BUMP cec4c133
Sep 14, 2024 10:26pm 0 VERSION_BUMP a07ac0b9
Sep 14, 2024 9:25pm 0 VERSION_BUMP a2656377