An open API service indexing awesome lists of open source software.

https://github.com/phi-ag/renovate-rust-nightly

Serve Rust nightly versions for Renovate Custom Datasources
https://github.com/phi-ag/renovate-rust-nightly

cloudflare-worker renovate rust

Last synced: 5 months ago
JSON representation

Serve Rust nightly versions for Renovate Custom Datasources

Awesome Lists containing this project

README

        

# Renovate Rust Nightly

[![Worker](https://img.shields.io/badge/worker-orange?style=for-the-badge)](https://renovate-rust-nightly.phi-ag.workers.dev/)

Parse nightly versions from [rust-lang.github.io](https://rust-lang.github.io/rustup-components-history/) and serve the result in the required JSON format for [Renovate Custom Datasources](https://docs.renovatebot.com/modules/datasource/custom/).

```json
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
":semanticCommits",
"config:best-practices",
"group:monorepos",
"group:recommended"
],
"customDatasources": {
"rust-nightly": {
"defaultRegistryUrlTemplate": "https://renovate-rust-nightly.phi-ag.workers.dev"
}
},
"customManagers": [
{
"customType": "regex",
"fileMatch": ["^rust-toolchain.toml$"],
"matchStrings": ["channel = \"nightly-(?.+?)\"\\n"],
"versioningTemplate": "regex:^(?\\d{4})-(?\\d{2})-(?\\d{2})$",
"datasourceTemplate": "custom.rust-nightly",
"depNameTemplate": "rust-nightly"
}
]
}
```