rust-codecov 0.1.0

Codecov API client for Rust
Documentation
  • Coverage
  • 17.39%
    12 out of 69 items documented0 out of 15 items with examples
  • Size
  • Source code size: 17.69 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 1.55 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 50s Average build duration of successful builds.
  • all releases: 50s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • kitsuyui/rust-codecov
    0 1 3
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • kitsuyui

rust-codecov

Description

A thin wrapper for Codecov API (v2). https://docs.codecov.com/reference/overview

Usage

use rust_codecov::{Client, Owner};

// let client = Client::new("1234-5678-9012-3456");
let client = Client::new_from_env();  // Read from CODECOV_OWNER_TOKEN
let owner = Owner {
    service: "github".to_string(),
    username: "codecov".to_string(),
};
let repos = client.get_all_repos(&owner).unwrap();
println!("{:?}", repos)

LICENSE

BSD-3-Clause