1 unstable release
0.1.0 | Jul 19, 2023 |
---|
#19 in #owner
12KB
259 lines
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
Dependencies
~4–16MB
~229K SLoC