Convert from llvm-cov format to codecov format
installation: cargo install cargo-llvm-codecov-converter
converts llvm-cov json formatted output from the llvm-cov export tool into the codecov custom coverage format via Stdin
and Stdout
for example to calculate coverage for rust code:
```bash
export LLVMPROFILEFILE="target/debug/coverage/
executables=$(RUSTFLAGS="-Zinstrument-coverage" cargo test --tests --no-run --message-format=json | jq -r "select(.profile.test == true) | .executable")
$executables
cargo profdata -- merge -sparse target/debug/coverage/
cargo cov -- export $executables \
--instr-profile=target/debug/coverage/
note the pipe into cargo llvm-codecov-converter