https://github.com/andreimoustache/rust-dependabot-generator
Generates a dependabot config for a given directory.
https://github.com/andreimoustache/rust-dependabot-generator
cli dependabot rust
Last synced: 6 months ago
JSON representation
Generates a dependabot config for a given directory.
- Host: GitHub
- URL: https://github.com/andreimoustache/rust-dependabot-generator
- Owner: andreimoustache
- License: mit
- Created: 2022-04-23T17:14:13.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2025-03-17T08:49:56.000Z (7 months ago)
- Last Synced: 2025-03-29T13:35:07.759Z (6 months ago)
- Topics: cli, dependabot, rust
- Language: Rust
- Homepage:
- Size: 56.6 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# rust-dependabot-generator
_Generates a `dependabot` config for a given directory._
Scans a directory for package manager config files, and generates the [`dependabot.yaml`](https://docs.github.com/en/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file).
**Note** This is a work in progress, and not everything works properly, assumptions are made,
things are hardcoded :ok_hand:, but it provides at least a starting point for a config file.# Usage
`cargo run ~/workspace/rust-dependabot-generator`
```
Scanning directory ~/rust-dependabot-generator.
Found package managers: cargo.
```The program will write the dependabot `yaml` file to disk.
# Acknowledgements
This is based on [Taiki Endo](https://github.com/taiki-e)'s great work with
[dependabot-config](https://github.com/taiki-e/dependabot-config) crate; without it,
I wouldn't have been able to get such a complete version working in such little time.