rust-codecov

Crates.io codecov crates.io

Description

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

Usage

```rust use codecov::{Client, Owner};

// let client = Client::new("1234-5678-9012-3456"); let client = Client::newfromenv(); // Read from CODECOVOWNERTOKEN let owner = Owner { service: "github".tostring(), username: "codecov".tostring(), }; let repos = client.getallrepos(&owner).unwrap(); println!("{:?}", repos) ```

LICENSE

BSD-3-Clause