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§
- The Dependabot v1 configuration.
- The Dependabot v2 configuration.
Structs§
- An error that occurred during parsing the Dependabot configuration.
Enums§
- The Dependabot configuration.