renovate/lib/manager/cargo/index.ts
Rhys Arkins ab778ebf1d
feat: supportedDatasources (#13621)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
Co-authored-by: Jamie Magee <jamie.magee@gmail.com>
2022-01-19 08:06:21 +00:00

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];