Crates.io | rust-codecov |
lib.rs | rust-codecov |
version | 0.1.0 |
source | src |
created_at | 2023-07-19 14:14:55.142346 |
updated_at | 2023-07-19 14:14:55.142346 |
description | Codecov API client for Rust |
homepage | |
repository | https://github.com/kitsuyui/rust-codecov |
max_upload_size | |
id | 920345 |
size | 17,696 |
A thin wrapper for Codecov API (v2). https://docs.codecov.com/reference/overview
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)
BSD-3-Clause