Crate dependabot_config

Source
Expand description

Structured access to the Dependabot configuration file.

§Examples

use std::fs;

use dependabot_config::v2::Dependabot;

let s = fs::read_to_string(".github/dependabot.yml")?;
let dependabot: Dependabot = s.parse()?;
for update in dependabot.updates {
    println!("{}", update.package_ecosystem);
}

Modules§

v1
The Dependabot v1 configuration.
v2
The Dependabot v2 configuration.

Structs§

Error
An error that occurred during parsing the Dependabot configuration.

Enums§

Dependabot
The Dependabot configuration.