dependabot-config

Structured access to the Dependabot configuration file.

APACHE-2.0 License

Downloads
5.7K
Stars
2
Committers
2

dependabot-config

Structured access to the Dependabot configuration file.

Usage

Add this to your Cargo.toml:

[dependencies]
dependabot-config = "0.3"

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);
}

License

Licensed under either of Apache License, Version 2.0 or MIT license at your option.

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

Package Rankings
Top 27.68% on Crates.io
Badges
Extracted from project README
crates.io docs.rs license msrv github actions