rust-codecov

Crates.iorust-codecov
lib.rsrust-codecov
version0.1.0
sourcesrc
created_at2023-07-19 14:14:55.142346
updated_at2023-07-19 14:14:55.142346
descriptionCodecov API client for Rust
homepage
repositoryhttps://github.com/kitsuyui/rust-codecov
max_upload_size
id920345
size17,696
kitsuyui (kitsuyui)

documentation

https://docs.rs/rust-codecov

README

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

Commit count: 106

cargo fmt