Crates.io | dependabot-config |
lib.rs | dependabot-config |
version | 0.3.4 |
source | src |
created_at | 2021-04-09 17:16:59.048493 |
updated_at | 2024-04-13 14:06:32.501167 |
description | Structured access to the Dependabot configuration. |
homepage | |
repository | https://github.com/taiki-e/dependabot-config |
max_upload_size | |
id | 381388 |
size | 113,412 |
Structured access to the Dependabot configuration file.
Add this to your Cargo.toml
:
[dependencies]
dependabot-config = "0.3"
Compiler support: requires rustc 1.64+
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);
}
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.