mirror of
https://github.com/renovatebot/renovate.git
synced 2025-01-15 17:16:25 +00:00
ab778ebf1d
Co-authored-by: Michael Kriese <michael.kriese@visualon.de> Co-authored-by: Jamie Magee <jamie.magee@gmail.com>
19 lines
655 B
TypeScript
19 lines
655 B
TypeScript
import { ProgrammingLanguage } from '../../constants';
|
|
import { CrateDatasource } from '../../datasource/crate';
|
|
import * as cargoVersioning from '../../versioning/cargo';
|
|
import { updateArtifacts } from './artifacts';
|
|
import { extractPackageFile } from './extract';
|
|
|
|
const language = ProgrammingLanguage.Rust;
|
|
export const supportsLockFileMaintenance = true;
|
|
|
|
export { extractPackageFile, updateArtifacts, language };
|
|
|
|
export const defaultConfig = {
|
|
commitMessageTopic: 'Rust crate {{depName}}',
|
|
fileMatch: ['(^|/)Cargo.toml$'],
|
|
versioning: cargoVersioning.id,
|
|
rangeStrategy: 'bump',
|
|
};
|
|
|
|
export const supportedDatasources = [CrateDatasource.id];
|